mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-22 06:59:59 -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
|
|
@ -5,6 +5,7 @@ pinos_headers = [
|
|||
'introspect.h',
|
||||
'log.h',
|
||||
'map.h',
|
||||
'mem.h',
|
||||
'pinos.h',
|
||||
'properties.h',
|
||||
'ringbuffer.h',
|
||||
|
|
@ -12,6 +13,7 @@ pinos_headers = [
|
|||
'stream.h',
|
||||
'subscribe.h',
|
||||
'thread-mainloop.h',
|
||||
'transport.h',
|
||||
]
|
||||
|
||||
pinos_sources = [
|
||||
|
|
@ -21,6 +23,7 @@ pinos_sources = [
|
|||
'introspect.c',
|
||||
'log.c',
|
||||
'mapper.c',
|
||||
'mem.c',
|
||||
'properties.c',
|
||||
'serialize.c',
|
||||
'stream.c',
|
||||
|
|
@ -29,6 +32,7 @@ pinos_sources = [
|
|||
'rtkit.c',
|
||||
'subscribe.c',
|
||||
'thread-mainloop.c',
|
||||
'transport.c',
|
||||
gdbus_target,
|
||||
]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue