mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	sink: Remove PASSTHROUGH flag
This removes the passthrough flag from sinks since we will drop exclusively passthrough sinks in favour of providing a list of formats supported by each sink. We can still determine whether a sink is in passthrough mode by checking if any non-PCM streams are attached to it.
This commit is contained in:
		
							parent
							
								
									54c391e6db
								
							
						
					
					
						commit
						71ec9577cf
					
				
					 5 changed files with 41 additions and 60 deletions
				
			
		| 
						 | 
				
			
			@ -382,6 +382,10 @@ int pa_sink_suspend_all(pa_core *c, pa_bool_t suspend, pa_suspend_cause_t cause)
 | 
			
		|||
/* Use this instead of checking s->flags & PA_SINK_FLAT_VOLUME directly. */
 | 
			
		||||
pa_bool_t pa_sink_flat_volume_enabled(pa_sink *s);
 | 
			
		||||
 | 
			
		||||
/* Is the sink in passthrough mode? (that is, is there a passthrough sink input
 | 
			
		||||
 * connected to this sink? */
 | 
			
		||||
pa_bool_t pa_sink_is_passthrough(pa_sink *s);
 | 
			
		||||
 | 
			
		||||
void pa_sink_set_volume(pa_sink *sink, const pa_cvolume *volume, pa_bool_t sendmsg, pa_bool_t save);
 | 
			
		||||
const pa_cvolume *pa_sink_get_volume(pa_sink *sink, pa_bool_t force_refresh);
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue