mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	core: Add an "internal" suspend cause
This lets us suspend devices from within the core for short periods without having to overload one of the existing suspend causes. https://bugs.freedesktop.org/show_bug.cgi?id=64118
This commit is contained in:
		
							parent
							
								
									8cc4e7786f
								
							
						
					
					
						commit
						ab37be46f6
					
				
					 3 changed files with 17 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -36,6 +36,7 @@ typedef enum pa_suspend_cause {
 | 
			
		|||
    PA_SUSPEND_IDLE = 4,         /* Used by module-suspend-on-idle */
 | 
			
		||||
    PA_SUSPEND_SESSION = 8,      /* Used by module-hal for mark inactive sessions */
 | 
			
		||||
    PA_SUSPEND_PASSTHROUGH = 16, /* Used to suspend monitor sources when the sink is in passthrough mode */
 | 
			
		||||
    PA_SUSPEND_INTERNAL = 32,    /* This is used for short period server-internal suspends, such as for sample rate updates */
 | 
			
		||||
    PA_SUSPEND_ALL = 0xFFFF      /* Magic cause that can be used to resume forcibly */
 | 
			
		||||
} pa_suspend_cause_t;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue