mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
Work on event loop
Make a new epoll based event loop and use it for the data tranport. Simplify the spa event api a little and rename to SpaLoop
This commit is contained in:
parent
0d2fa5ebc8
commit
ae93f15965
33 changed files with 1286 additions and 954 deletions
|
|
@ -24,7 +24,7 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <spa/include/spa/poll.h>
|
||||
#include <spa/include/spa/loop.h>
|
||||
|
||||
typedef struct _PinosMainLoop PinosMainLoop;
|
||||
|
||||
|
|
@ -39,7 +39,7 @@ typedef void (*PinosDeferFunc) (void *obj,
|
|||
* Pinos main-loop interface.
|
||||
*/
|
||||
struct _PinosMainLoop {
|
||||
SpaPoll *poll;
|
||||
SpaLoop *loop;
|
||||
|
||||
void (*run) (PinosMainLoop *loop);
|
||||
void (*quit) (PinosMainLoop *loop);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue