mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	acp: probe max 192 channels
Thr 256 channel probe can cause overflows because we use uint8_t for the channel count in some places. Fixes #4669
This commit is contained in:
		
							parent
							
								
									7e4dd9524f
								
							
						
					
					
						commit
						14f48c7a1c
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -16,7 +16,7 @@ void *_acp_log_data;
 | 
			
		|||
 | 
			
		||||
struct spa_i18n *acp_i18n;
 | 
			
		||||
 | 
			
		||||
#define DEFAULT_CHANNELS	256u
 | 
			
		||||
#define DEFAULT_CHANNELS	255u
 | 
			
		||||
#define DEFAULT_RATE		48000u
 | 
			
		||||
 | 
			
		||||
#define VOLUME_ACCURACY (PA_VOLUME_NORM/100)  /* don't require volume adjustments to be perfectly correct. don't necessarily extend granularity in software unless the differences get greater than this level */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue