Make scheduler more generic

Add some callbacks to trigger push and pull in a graph
Remove the scheduler, make some implementations of graph push/pull
functions.
Add some properties to jack clients and nodes
Fix the parent of the clients.
Notify link format changes
This commit is contained in:
Wim Taymans 2017-08-20 18:33:07 +02:00
parent eba2b82c8e
commit bece3a013b
20 changed files with 248 additions and 158 deletions

View file

@ -24,8 +24,9 @@
extern "C" {
#endif
#include <spa/graph.h>
#include <sys/socket.h>
#include <spa/graph-scheduler3.h>
#include "pipewire/mem.h"
#include "pipewire/pipewire.h"
@ -116,7 +117,6 @@ struct pw_core {
uint32_t n_support; /**< number of support items */
struct {
struct spa_graph_scheduler sched;
struct spa_graph graph;
} rt;
};
@ -218,7 +218,7 @@ struct pw_node {
struct pw_loop *data_loop; /**< the data loop for this node */
struct {
struct spa_graph_scheduler *sched;
struct spa_graph *graph;
struct spa_graph_node node;
} rt;