mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	don't restore devices for direct-on-input streams
This commit is contained in:
		
							parent
							
								
									5a0e01404a
								
							
						
					
					
						commit
						f68a6e5cab
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -360,6 +360,7 @@ static pa_hook_result_t source_output_new_hook_callback(pa_core *c, pa_source_ou
 | 
				
			||||||
        pa_source *s;
 | 
					        pa_source *s;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if (u->restore_device &&
 | 
					        if (u->restore_device &&
 | 
				
			||||||
 | 
					            !new_data->direct_on_input &&
 | 
				
			||||||
            (s = pa_namereg_get(c, e->device, PA_NAMEREG_SOURCE, TRUE))) {
 | 
					            (s = pa_namereg_get(c, e->device, PA_NAMEREG_SOURCE, TRUE))) {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            pa_log_info("Restoring device for stream %s.", name);
 | 
					            pa_log_info("Restoring device for stream %s.", name);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue