mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	pulse-server: set the SINK_SET_FORMATS flag
When we have an iec958Codecs property on the node, we can use it to configure the codecs on the sink.
This commit is contained in:
		
							parent
							
								
									49eb31f670
								
							
						
					
					
						commit
						ea7a731106
					
				
					 3 changed files with 5 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -281,6 +281,8 @@ void collect_device_info(struct pw_manager_object *device, struct pw_manager_obj
 | 
			
		|||
				volume_parse_param(p->param, &dev_info->volume_info, monitor);
 | 
			
		||||
				dev_info->have_volume = true;
 | 
			
		||||
			}
 | 
			
		||||
			dev_info->have_iec958codecs = spa_pod_find_prop(p->param,
 | 
			
		||||
					NULL, SPA_PROP_iec958Codecs) != NULL;
 | 
			
		||||
			break;
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue