mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-10-29 05:40:27 -04:00 
			
		
		
		
	pipewire-alsa: Correct the max channels value
This commit is contained in:
		
							parent
							
								
									56f4ee5999
								
							
						
					
					
						commit
						195ac82394
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -745,7 +745,7 @@ static int pipewire_set_hw_constraint(snd_pcm_pipewire_t *pw, int rate, | |||
| 		min_channels = max_channels = channels; | ||||
| 	} else { | ||||
| 		min_channels = 1; | ||||
| 		max_channels = MAX_RATE; | ||||
| 		max_channels = MAX_CHANNELS; | ||||
| 	} | ||||
| 
 | ||||
| 	if ((err = snd_pcm_ioplug_set_param_list(&pw->io, SND_PCM_IOPLUG_HW_ACCESS, | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Jonas Holmberg
						Jonas Holmberg