mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	Avoid more autogenerated code
Avoid using the autogenerated object manager because it does not emit signals in the right context in all cases. Use our own proxy and make our own proxy objects when they appear. Make it possible to get a previously created proxy object or wait when it is still being constructed.
This commit is contained in:
		
							parent
							
								
									c185755b3f
								
							
						
					
					
						commit
						0a9f79b675
					
				
					 8 changed files with 565 additions and 561 deletions
				
			
		| 
						 | 
				
			
			@ -28,11 +28,14 @@ struct _PvContextPrivate
 | 
			
		|||
  GDBusConnection *connection;
 | 
			
		||||
 | 
			
		||||
  PvContextFlags flags;
 | 
			
		||||
 | 
			
		||||
  PvContextState state;
 | 
			
		||||
  GError *error;
 | 
			
		||||
 | 
			
		||||
  PvDaemon1 *daemon;
 | 
			
		||||
  GDBusProxy *daemon;
 | 
			
		||||
 | 
			
		||||
  PvClient1 *client;
 | 
			
		||||
  gchar *client_path;
 | 
			
		||||
  GDBusProxy *client;
 | 
			
		||||
 | 
			
		||||
  PvSubscriptionFlags subscription_mask;
 | 
			
		||||
  PvSubscribe *subscribe;
 | 
			
		||||
| 
						 | 
				
			
			@ -40,8 +43,6 @@ struct _PvContextPrivate
 | 
			
		|||
  GList *sources;
 | 
			
		||||
 | 
			
		||||
  GDBusObjectManagerServer *server_manager;
 | 
			
		||||
 | 
			
		||||
  GError *error;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
GDBusProxy *      pv_context_find_source           (PvContext *context, const gchar *name, GVariant *props);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue