Make simple node policy

Make it possible to run the session manager without endpoint
modules. Add a simple node policy that links nodes.

Move the session-manager implementation and startup of the
endpoint monitors to a separate module.

Handle async set_param on the device
This commit is contained in:
Wim Taymans 2020-01-07 16:07:51 +01:00
parent 3b05896cd6
commit b312e77385
9 changed files with 1570 additions and 134 deletions

View file

@ -39,9 +39,10 @@
#include <spa/utils/hook.h>
#include <spa/utils/names.h>
#include <spa/utils/keys.h>
#include <spa/param/audio/format-utils.h>
#include <spa/param/props.h>
#include <spa/pod/builder.h>
#include <spa/debug/dict.h>
#include <spa/debug/pod.h>
#include <spa/support/dbus.h>
#include <pipewire/pipewire.h>
@ -240,6 +241,7 @@ static struct node *alsa_create_node(struct device *device, uint32_t id,
res = -errno;
goto clean_node;
}
spa_list_append(&device->node_list, &node->link);
return node;