event: make events dynamic

Use uri for the events.
This commit is contained in:
Wim Taymans 2017-03-21 20:39:20 +01:00
parent 5bccb1aeea
commit 4d9f2c5161
23 changed files with 299 additions and 285 deletions

View file

@ -29,6 +29,7 @@ extern "C" {
#include <pinos/client/map.h>
#include <spa/include/spa/id-map.h>
#include <spa/include/spa/node-event.h>
typedef struct _PinosURI PinosURI;
@ -52,6 +53,8 @@ struct _PinosURI {
uint32_t spa_node;
uint32_t spa_clock;
uint32_t spa_monitor;
SpaNodeEvents node_events;
};
void pinos_uri_init (PinosURI *uri);