mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	core-proxy: expose more methods
This commit is contained in:
		
							parent
							
								
									c990c73d62
								
							
						
					
					
						commit
						ed8dadca15
					
				
					 1 changed files with 15 additions and 0 deletions
				
			
		| 
						 | 
					@ -70,16 +70,31 @@ int pw_core_proxy_steal_fd(struct pw_core_proxy *core_proxy);
 | 
				
			||||||
/** Get the core proxy, can only be called when connected */
 | 
					/** Get the core proxy, can only be called when connected */
 | 
				
			||||||
int pw_core_proxy_disconnect(struct pw_core_proxy *proxy);
 | 
					int pw_core_proxy_disconnect(struct pw_core_proxy *proxy);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/** Get the user_data. It is of the size specified when this object was
 | 
				
			||||||
 | 
					 * constructed */
 | 
				
			||||||
 | 
					void *pw_core_proxy_get_user_data(struct pw_core_proxy *core_proxy);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/** Get the client proxy */
 | 
					/** Get the client proxy */
 | 
				
			||||||
struct pw_client_proxy * pw_core_proxy_get_client_proxy(struct pw_core_proxy *proxy);
 | 
					struct pw_client_proxy * pw_core_proxy_get_client_proxy(struct pw_core_proxy *proxy);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/** Get the core object used to created this core_proxy */
 | 
				
			||||||
struct pw_core * pw_core_proxy_get_core(struct pw_core_proxy *proxy);
 | 
					struct pw_core * pw_core_proxy_get_core(struct pw_core_proxy *proxy);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/** Get properties from the core_proxy */
 | 
				
			||||||
 | 
					const struct pw_properties *pw_core_proxy_get_properties(struct pw_core_proxy *proxy);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/** Update the core_proxy properties. This updates the properties
 | 
				
			||||||
 | 
					 * of the associated client.
 | 
				
			||||||
 | 
					 * \return the number of properties that were updated */
 | 
				
			||||||
 | 
					int pw_core_proxy_update_properties(struct pw_core_proxy *core_proxy, const struct spa_dict *dict);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/** Get the core_proxy mempool object */
 | 
				
			||||||
struct pw_mempool * pw_core_proxy_get_mempool(struct pw_core_proxy *proxy);
 | 
					struct pw_mempool * pw_core_proxy_get_mempool(struct pw_core_proxy *proxy);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/** Get the proxy with the given id */
 | 
					/** Get the proxy with the given id */
 | 
				
			||||||
struct pw_proxy *pw_core_proxy_find_proxy(struct pw_core_proxy *proxy, uint32_t id);
 | 
					struct pw_proxy *pw_core_proxy_find_proxy(struct pw_core_proxy *proxy, uint32_t id);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/** Export an object into the PipeWire instance associated with core_proxy */
 | 
				
			||||||
struct pw_proxy *pw_core_proxy_export(struct pw_core_proxy *proxy,	/**< the proxy */
 | 
					struct pw_proxy *pw_core_proxy_export(struct pw_core_proxy *proxy,	/**< the proxy */
 | 
				
			||||||
				  uint32_t type,			/**< the type of object */
 | 
									  uint32_t type,			/**< the type of object */
 | 
				
			||||||
				  struct pw_properties *properties,	/**< extra properties */
 | 
									  struct pw_properties *properties,	/**< extra properties */
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue