mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	pulse-server: use TARGET_OBJECT
The pulse API uses either the node.name or object.serials so pass this along in the TARGET_OBJECT instead of the NODE_TARGET now that wireplumber handles this.
This commit is contained in:
		
							parent
							
								
									624e265fd6
								
							
						
					
					
						commit
						ff69454eb4
					
				
					 14 changed files with 16 additions and 44 deletions
				
			
		| 
						 | 
				
			
			@ -82,16 +82,6 @@ uint32_t id_to_index(struct pw_manager *m, uint32_t id)
 | 
			
		|||
	return SPA_ID_INVALID;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
uint32_t index_to_id(struct pw_manager *m, uint32_t index)
 | 
			
		||||
{
 | 
			
		||||
	struct pw_manager_object *o;
 | 
			
		||||
	spa_list_for_each(o, &m->object_list, link) {
 | 
			
		||||
		if (o->index == index)
 | 
			
		||||
			return o->id;
 | 
			
		||||
	}
 | 
			
		||||
	return SPA_ID_INVALID;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
bool collect_is_linked(struct pw_manager *m, uint32_t id, enum pw_direction direction)
 | 
			
		||||
{
 | 
			
		||||
	struct pw_manager_object *o;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue