mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-10-29 05:40:27 -04:00 
			
		
		
		
	acp: use global max channels if defined
This commit is contained in:
		
							parent
							
								
									c8d4de5e77
								
							
						
					
					
						commit
						88c65932d8
					
				
					 1 changed files with 5 additions and 1 deletions
				
			
		|  | @ -27,7 +27,11 @@ | ||||||
| extern "C" { | extern "C" { | ||||||
| #endif | #endif | ||||||
| 
 | 
 | ||||||
| #define PA_CHANNELS_MAX	128 | #ifdef SPA_AUDIO_MAX_CHANNELS | ||||||
|  | #define PA_CHANNELS_MAX	((int)SPA_AUDIO_MAX_CHANNELS) | ||||||
|  | #else | ||||||
|  | #define PA_CHANNELS_MAX	64 | ||||||
|  | #endif | ||||||
| 
 | 
 | ||||||
| #define PA_CHANNEL_MAP_SNPRINT_MAX (PA_CHANNELS_MAX * 32) | #define PA_CHANNEL_MAP_SNPRINT_MAX (PA_CHANNELS_MAX * 32) | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Wim Taymans
						Wim Taymans