mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-23 06:59:58 -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
|
|
@ -52,8 +52,6 @@ typedef enum {
|
|||
|
||||
/* both */
|
||||
PINOS_CONTROL_CMD_ADD_MEM = 64,
|
||||
PINOS_CONTROL_CMD_REMOVE_MEM = 65,
|
||||
|
||||
PINOS_CONTROL_CMD_USE_BUFFERS = 66,
|
||||
PINOS_CONTROL_CMD_PROCESS_BUFFER = 67,
|
||||
|
||||
|
|
@ -146,13 +144,6 @@ typedef struct {
|
|||
size_t size;
|
||||
} PinosControlCmdAddMem;
|
||||
|
||||
/* PINOS_CONTROL_CMD_REMOVE_MEM */
|
||||
typedef struct {
|
||||
SpaDirection direction;
|
||||
uint32_t port_id;
|
||||
uint32_t mem_id;
|
||||
} PinosControlCmdRemoveMem;
|
||||
|
||||
typedef struct {
|
||||
uint32_t mem_id;
|
||||
off_t offset;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue