Commit aa07ec09 authored by Julian Bouzas's avatar Julian Bouzas

remote-pipewire: add find_factory API

parent d4f882d7
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment