mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-10 13:30:05 -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
|
|
@ -28,11 +28,13 @@ typedef struct _PinosLink PinosLink;
|
|||
typedef struct _PinosLinkClass PinosLinkClass;
|
||||
typedef struct _PinosLinkPrivate PinosLinkPrivate;
|
||||
|
||||
#include <pinos/server/daemon.h>
|
||||
#include <pinos/server/utils.h>
|
||||
#include <pinos/server/main-loop.h>
|
||||
#include <spa/include/spa/ringbuffer.h>
|
||||
|
||||
#include <pinos/client/mem.h>
|
||||
|
||||
#include <pinos/server/daemon.h>
|
||||
#include <pinos/server/main-loop.h>
|
||||
|
||||
#define PINOS_TYPE_LINK (pinos_link_get_type ())
|
||||
#define PINOS_IS_LINK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PINOS_TYPE_LINK))
|
||||
#define PINOS_IS_LINK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PINOS_TYPE_LINK))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue