mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-10-29 05:40:27 -04:00 
			
		
		
		
	use priority.session to select the default sink/source
priority.session is meant to be used to set routing priorities. priority.driver is meant to be used by the scheduler to select what nodes is best for driving the graph. This usually depends on the hardware quality and the use case (Pro Audio devices are likely to be used as driving the graph). See #1028
This commit is contained in:
		
							parent
							
								
									136511fbc8
								
							
						
					
					
						commit
						877309bfbe
					
				
					 3 changed files with 3 additions and 3 deletions
				
			
		|  | @ -922,7 +922,7 @@ static void node_event_info(void *object, const struct pw_node_info *info) | |||
| 		else | ||||
| 			g->node.device_id = SPA_ID_INVALID; | ||||
| 
 | ||||
| 		if ((str = spa_dict_lookup(info->props, PW_KEY_PRIORITY_DRIVER))) | ||||
| 		if ((str = spa_dict_lookup(info->props, PW_KEY_PRIORITY_SESSION))) | ||||
| 			g->node.priority = atoi(str); | ||||
| 		if ((str = spa_dict_lookup(info->props, PW_KEY_MEDIA_CLASS))) { | ||||
| 			if (strcmp(str, "Audio/Sink") == 0) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Wim Taymans
						Wim Taymans