mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
Add invoke method to schedule executing in a main loop
This commit is contained in:
parent
1bd751372e
commit
0373f73bac
8 changed files with 381 additions and 74 deletions
|
|
@ -25,6 +25,7 @@
|
|||
G_BEGIN_DECLS
|
||||
|
||||
#include <spa/include/spa/poll.h>
|
||||
#include <spa/include/spa/node-event.h>
|
||||
|
||||
typedef struct _PinosMainLoop PinosMainLoop;
|
||||
typedef struct _PinosMainLoopClass PinosMainLoopClass;
|
||||
|
|
@ -61,7 +62,11 @@ struct _PinosMainLoopClass {
|
|||
GObjectClass parent_class;
|
||||
};
|
||||
|
||||
typedef void (*PinosDeferFunc) (gpointer data,
|
||||
typedef void (*PinosEventFunc) (SpaNodeEvent *event,
|
||||
void *user_data);
|
||||
|
||||
typedef void (*PinosDeferFunc) (gpointer obj,
|
||||
gpointer data,
|
||||
SpaResult res,
|
||||
gulong id);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue