mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	pulse-server: Implement record PA_STREAM_DONT_INHIBIT_AUTO_SUSPEND
Also implement the flag for record streams, where it is more usually used, like in pavucontrol to disable starting a network source.
This commit is contained in:
		
							parent
							
								
									60669920f0
								
							
						
					
					
						commit
						13105a8e64
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -2051,6 +2051,8 @@ static int do_create_record_stream(struct client *client, uint32_t command, uint
 | 
			
		|||
			pw_properties_set(props,
 | 
			
		||||
					PW_KEY_STREAM_CAPTURE_SINK, "true");
 | 
			
		||||
	}
 | 
			
		||||
	if (dont_inhibit_auto_suspend)
 | 
			
		||||
		pw_properties_set(props, PW_KEY_NODE_PASSIVE, "true");
 | 
			
		||||
 | 
			
		||||
	stream->stream = pw_stream_new(client->core, name, props);
 | 
			
		||||
	props = NULL;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue