mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	use endpoint in pulse
This commit is contained in:
		
							parent
							
								
									c9a54112e4
								
							
						
					
					
						commit
						edd011605d
					
				
					 4 changed files with 180 additions and 128 deletions
				
			
		| 
						 | 
				
			
			@ -200,7 +200,7 @@ static void configure_device(pa_stream *s)
 | 
			
		|||
	else {
 | 
			
		||||
		if (s->direction == PA_STREAM_RECORD) {
 | 
			
		||||
			if (g->mask == (PA_SUBSCRIPTION_MASK_SINK | PA_SUBSCRIPTION_MASK_SOURCE))
 | 
			
		||||
				s->device_index = g->node_info.monitor;
 | 
			
		||||
				s->device_index = g->stream_info.monitor;
 | 
			
		||||
			else
 | 
			
		||||
				s->device_index = g->id;
 | 
			
		||||
		}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue