mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-16 08:56:45 -05: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-command.h>
|
||||
|
||||
typedef struct _PinosDataLoop PinosDataLoop;
|
||||
typedef struct _PinosDataLoopClass PinosDataLoopClass;
|
||||
|
|
@ -61,10 +62,14 @@ struct _PinosDataLoopClass {
|
|||
GObjectClass parent_class;
|
||||
};
|
||||
|
||||
/* normal GObject stuff */
|
||||
GType pinos_data_loop_get_type (void);
|
||||
typedef void (*PinosCommandFunc) (SpaNodeCommand *command,
|
||||
uint32_t seq,
|
||||
void *user_data);
|
||||
|
||||
PinosDataLoop * pinos_data_loop_new (void);
|
||||
/* normal GObject stuff */
|
||||
GType pinos_data_loop_get_type (void);
|
||||
|
||||
PinosDataLoop * pinos_data_loop_new (void);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue