mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-22 08:56:59 -05:00
Work on main loop
Make a main-loop object with associated helper functions to handle async methods. rtloop -> data_loop Handle async results a lot better. Remove REMOVE_MEM command. We don't need it. Handle stream memory updates better.
This commit is contained in:
parent
98dbb6424d
commit
8fac22afdb
26 changed files with 926 additions and 583 deletions
|
|
@ -42,6 +42,7 @@ typedef struct _PinosDaemonPrivate PinosDaemonPrivate;
|
|||
#include <spa/include/spa/id-map.h>
|
||||
#include <pinos/server/node.h>
|
||||
#include <pinos/server/node-factory.h>
|
||||
#include <pinos/server/main-loop.h>
|
||||
#include <pinos/client/properties.h>
|
||||
|
||||
/**
|
||||
|
|
@ -55,6 +56,8 @@ struct _PinosDaemon {
|
|||
SpaIDMap *map;
|
||||
SpaLog *log;
|
||||
|
||||
PinosMainLoop *main_loop;
|
||||
|
||||
SpaSupport *support;
|
||||
unsigned int n_support;
|
||||
|
||||
|
|
@ -86,11 +89,10 @@ void pinos_daemon_add_node (PinosDaemon *daemon, PinosNode
|
|||
void pinos_daemon_remove_node (PinosDaemon *daemon, PinosNode *node);
|
||||
|
||||
PinosPort * pinos_daemon_find_port (PinosDaemon *daemon,
|
||||
PinosDirection direction,
|
||||
PinosPort *other_port,
|
||||
const gchar *name,
|
||||
PinosProperties *props,
|
||||
unsigned int n_format_filters,
|
||||
SpaFormat **format_filters,
|
||||
GPtrArray *format_filter,
|
||||
GError **error);
|
||||
|
||||
void pinos_daemon_add_node_factory (PinosDaemon *daemon,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue