mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-07 13:30:09 -05:00
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:
parent
eba2b82c8e
commit
bece3a013b
20 changed files with 248 additions and 158 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue