mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	alsa: avoid assert
We're doing something different than pulseaudio when setting up the ports.
This commit is contained in:
		
							parent
							
								
									2216956e05
								
							
						
					
					
						commit
						aae770f18b
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -1543,8 +1543,7 @@ int pa_alsa_ucm_set_port(pa_alsa_ucm_mapping_context *context, pa_device_port *p
 | 
			
		|||
    pa_assert(ucm->ucm_mgr);
 | 
			
		||||
 | 
			
		||||
    data = PA_DEVICE_PORT_DATA(port);
 | 
			
		||||
    dev = context->ucm_device;
 | 
			
		||||
    pa_assert(dev == data->device);
 | 
			
		||||
    dev = data->device;
 | 
			
		||||
 | 
			
		||||
    return ucm_device_enable(ucm, dev);
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue