PipeWire
0.3.15
|
Represents an object on the client side. More...
Public Member Functions | |
SPA_EXPORT struct pw_proxy * | pw_proxy_new (struct pw_proxy *factory, const char *type, uint32_t version, size_t user_data_size) |
Create a proxy object with a given id and type. More... | |
SPA_EXPORT void | pw_proxy_destroy (struct pw_proxy *proxy) |
Destroy a proxy object. More... | |
Represents an object on the client side.
A pw_proxy acts as a client side proxy to an object existing in a remote pipewire instance. The proxy is responsible for converting interface functions invoked by the client to PipeWire messages. Events will call the handlers set in listener.
See Proxy
SPA_EXPORT void pw_proxy_destroy | ( | struct pw_proxy * | proxy | ) |
Destroy a proxy object.
proxy | Proxy object to destroy |
References NAME, pw_core_destroy, and pw_log::pw_log_debug.
Referenced by pw_core_disconnect(), pw_filter_disconnect(), and pw_stream_disconnect().
SPA_EXPORT struct pw_proxy * pw_proxy_new | ( | struct pw_proxy * | factory, |
const char * | type, | ||
uint32_t | version, | ||
size_t | user_data_size | ||
) |
Create a proxy object with a given id and type.
factory | another proxy object that serves as a factory |
type | Type of the proxy object |
user_data_size | size of user_data |
This function creates a new proxy object with the supplied id and type. The proxy object will have an id assigned from the client id space.
References NAME, pw_log::pw_log_debug, pw_proxy_init(), res, and impl::this.