mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
Rework transport protocol
Use a more simple tranport protocol for the realtime data. Use a piece of shared memory and a socket where we use a 1byte read/write to trigger remote actions. Also use a ringbuffer for events.
This commit is contained in:
parent
7e46f9e3ad
commit
b774b99db5
22 changed files with 797 additions and 364 deletions
|
|
@ -26,8 +26,6 @@ extern "C" {
|
|||
|
||||
typedef struct _PinosArray PinosArray;
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include <spa/defs.h>
|
||||
|
||||
struct _PinosArray {
|
||||
|
|
@ -52,7 +50,8 @@ struct _PinosArray {
|
|||
static inline void
|
||||
pinos_array_init (PinosArray *arr)
|
||||
{
|
||||
memset (arr, 0, sizeof (PinosArray));
|
||||
arr->data = NULL;
|
||||
arr->size = arr->alloc = 0;
|
||||
}
|
||||
|
||||
static inline void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue