mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	client-node: don't make add_listener async
It is not really async, the init is async.
This commit is contained in:
		
							parent
							
								
									1ab00fae6d
								
							
						
					
					
						commit
						33afa18621
					
				
					 5 changed files with 14 additions and 11 deletions
				
			
		| 
						 | 
				
			
			@ -361,7 +361,7 @@ static int impl_node_add_listener(struct spa_node *node,
 | 
			
		|||
 | 
			
		||||
	spa_hook_list_join(&this->hooks, &save);
 | 
			
		||||
 | 
			
		||||
	return spa_node_sync(impl->cnode, 0);
 | 
			
		||||
	return 0;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static int
 | 
			
		||||
| 
						 | 
				
			
			@ -1302,6 +1302,7 @@ struct pw_client_stream *pw_client_stream_new(struct pw_resource *resource,
 | 
			
		|||
				     client,
 | 
			
		||||
				     parent,
 | 
			
		||||
				     name,
 | 
			
		||||
				     PW_SPA_NODE_FLAG_ASYNC |
 | 
			
		||||
				     PW_SPA_NODE_FLAG_ACTIVATE,
 | 
			
		||||
				     &impl->node.node,
 | 
			
		||||
				     NULL,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue