remote-pipewire: add find_factory API
This commit is contained in:
@@ -370,6 +370,16 @@ wp_remote_pipewire_proxy_bind (WpRemotePipewire *self, guint global_id,
|
||||
0, 0);
|
||||
}
|
||||
|
||||
gpointer
|
||||
wp_remote_pipewire_find_factory (WpRemotePipewire *self,
|
||||
const char *factory_name)
|
||||
{
|
||||
g_return_val_if_fail (WP_IS_REMOTE_PIPEWIRE(self), NULL);
|
||||
g_return_val_if_fail (self->core, NULL);
|
||||
|
||||
return pw_core_find_factory(self->core, factory_name);
|
||||
}
|
||||
|
||||
gpointer
|
||||
wp_remote_pipewire_create_object (WpRemotePipewire *self,
|
||||
const char *factory_name, guint global_type, gconstpointer props)
|
||||
|
@@ -21,6 +21,8 @@ WpRemote *wp_remote_pipewire_new (WpCore *core, GMainContext *context);
|
||||
|
||||
gpointer wp_remote_pipewire_proxy_bind (WpRemotePipewire *self, guint global_id,
|
||||
guint global_type);
|
||||
gpointer wp_remote_pipewire_find_factory (WpRemotePipewire *self,
|
||||
const char *factory_name);
|
||||
gpointer wp_remote_pipewire_create_object (WpRemotePipewire *self,
|
||||
const char *factory_name, guint global_type, gconstpointer props);
|
||||
void wp_remote_pipewire_add_spa_lib (WpRemotePipewire *self,
|
||||
|
Reference in New Issue
Block a user