mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	Implement new flags DONT_INHIBIT_AUTO_SUSPEND and START_UNMUTED
This commit is contained in:
		
							parent
							
								
									c180cb5c48
								
							
						
					
					
						commit
						adc2973c8d
					
				
					 13 changed files with 156 additions and 24 deletions
				
			
		| 
						 | 
				
			
			@ -234,6 +234,7 @@ pa_bool_t pa_source_get_mute(pa_source *source, pa_bool_t force_refresh);
 | 
			
		|||
 | 
			
		||||
unsigned pa_source_linked_by(pa_source *s); /* Number of connected streams */
 | 
			
		||||
unsigned pa_source_used_by(pa_source *s); /* Number of connected streams that are not corked */
 | 
			
		||||
unsigned pa_source_check_suspend(pa_source *s); /* Returns how many streams are active that don't allow suspensions */
 | 
			
		||||
#define pa_source_get_state(s) ((pa_source_state_t) (s)->state)
 | 
			
		||||
 | 
			
		||||
/* To be called exclusively by the source driver, from IO context */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue