mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	media-session: subscribe to params when needed
Subscribe to params and collect them.
This commit is contained in:
		
							parent
							
								
									541f3a4cc6
								
							
						
					
					
						commit
						b7aa8f5c85
					
				
					 4 changed files with 101 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -406,6 +406,7 @@ static void stream_control_info(void *data, uint32_t id, const struct pw_stream_
 | 
			
		|||
{
 | 
			
		||||
	pa_stream *s = data;
 | 
			
		||||
 | 
			
		||||
	pw_log_debug("stream %p: control %d", s, id);
 | 
			
		||||
	switch (id) {
 | 
			
		||||
	case SPA_PROP_mute:
 | 
			
		||||
		if (control->n_values > 0)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue