mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	acp: handle NULL mixer_handle
It can be NULL for some UCM configs. Fixes #2612
This commit is contained in:
		
							parent
							
								
									e22e522ab8
								
							
						
					
					
						commit
						6144d037ce
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1735,7 +1735,8 @@ static void sync_mixer(pa_alsa_device *d, pa_device_port *port)
 | 
			
		|||
		setting = data->setting;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	pa_alsa_path_select(d->mixer_path, setting, d->mixer_handle, d->muted);
 | 
			
		||||
	if (d->mixer_handle)
 | 
			
		||||
		pa_alsa_path_select(d->mixer_path, setting, d->mixer_handle, d->muted);
 | 
			
		||||
 | 
			
		||||
	if (d->set_mute)
 | 
			
		||||
		d->set_mute(d, d->muted);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue