mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
Add poll interface and remove poll events
Use an interface to change items in a poll loop.
This commit is contained in:
parent
fc4fd1424a
commit
2905d91467
20 changed files with 227 additions and 148 deletions
|
|
@ -47,6 +47,8 @@ typedef struct _PinosRTLoopPrivate PinosRTLoopPrivate;
|
|||
struct _PinosRTLoop {
|
||||
GObject object;
|
||||
|
||||
SpaPoll poll;
|
||||
|
||||
PinosRTLoopPrivate *priv;
|
||||
};
|
||||
|
||||
|
|
@ -64,6 +66,7 @@ GType pinos_rtloop_get_type (void);
|
|||
|
||||
PinosRTLoop * pinos_rtloop_new (void);
|
||||
|
||||
|
||||
gboolean pinos_rtloop_add_poll (PinosRTLoop *loop,
|
||||
SpaPollItem *item);
|
||||
gboolean pinos_rtloop_update_poll (PinosRTLoop *loop,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue