mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
Work on introspection
This commit is contained in:
parent
7c29209023
commit
b969623ec8
39 changed files with 1726 additions and 574 deletions
|
|
@ -37,7 +37,8 @@ pinos_spa_node_load (PinosCore *core,
|
|||
const char *lib,
|
||||
const char *factory_name,
|
||||
const char *name,
|
||||
PinosProperties *properties)
|
||||
PinosProperties *properties,
|
||||
SetupNode setup_func)
|
||||
{
|
||||
PinosSpaNode *this;
|
||||
PinosSpaNodeImpl *impl;
|
||||
|
|
@ -97,6 +98,13 @@ pinos_spa_node_load (PinosCore *core,
|
|||
impl->core = core;
|
||||
impl->hnd = hnd;
|
||||
this = &impl->this;
|
||||
|
||||
if (setup_func != NULL) {
|
||||
if (setup_func (spa_node, properties) != SPA_RESULT_OK) {
|
||||
pinos_log_debug ("Unrecognized properties");
|
||||
}
|
||||
}
|
||||
|
||||
this->node = pinos_node_new (core,
|
||||
name,
|
||||
spa_node,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue