mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	Move CreateSourceOutput to client object
Move the CreateSourceOutput method back to the client object so that we can leave the selection of the source in the server.
This commit is contained in:
		
							parent
							
								
									d9444ab360
								
							
						
					
					
						commit
						7bb3ae2562
					
				
					 10 changed files with 124 additions and 84 deletions
				
			
		| 
						 | 
				
			
			@ -614,18 +614,3 @@ pv_context_get_error (PvContext *context)
 | 
			
		|||
 | 
			
		||||
  return priv->error;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
GDBusProxy *
 | 
			
		||||
pv_context_find_source (PvContext *context, const gchar *name, GVariant *props)
 | 
			
		||||
{
 | 
			
		||||
  PvContextPrivate *priv;
 | 
			
		||||
 | 
			
		||||
  g_return_val_if_fail (PV_IS_CONTEXT (context), NULL);
 | 
			
		||||
  priv = context->priv;
 | 
			
		||||
 | 
			
		||||
  if (priv->sources == NULL)
 | 
			
		||||
    return NULL;
 | 
			
		||||
 | 
			
		||||
  return priv->sources->data;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue