summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2021-08-03client: rework to avoid sscanf() and print help on invalid commandsGeorge Kiagiadakis1-13/+12
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2021-07-28src: install the example clientGeorge Kiagiadakis1-0/+1
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2021-07-28src: install the pipewire-ic-ipc.conf fileGeorge Kiagiadakis1-0/+5
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2021-07-28server: add systemd units + socket-activation supportGeorge Kiagiadakis3-0/+44
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2021-07-28server: sync suspend status after binding metadataGeorge Kiagiadakis1-0/+8
If the icipc server got a suspend request before the metadata object was bound, set the metadata after binding. This also helps in case the pw_core was disconnected and reconnected while there was still an icipc client actively suspending playback Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2021-07-28src: implement the icipc server process as a pipewire moduleGeorge Kiagiadakis3-4/+432
This can be loaded with `pipewire -c pipewire-ic-ipc.conf` Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2021-07-28meson: set -D_GNU_SOURCE in the project arguments, remove other definitionsGeorge Kiagiadakis1-5/+0
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2021-07-28lib: remove dependency on spa_pod and spa in generalGeorge Kiagiadakis1-25/+10
Replace spa_pod with a custom icipc_data structure, which is based on spa_pod and it's fully compatible with it Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2021-07-28style: convert code to systemd coding styleGeorge Kiagiadakis1-81/+87
https://systemd.io/CODING_STYLE/ Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2021-07-28icipc: make everything build again after splitting it out of wireplumberGeorge Kiagiadakis2-1/+10
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2021-07-28tests: examples: print error if buffer is not valid in wpipc-clientJulian Bouzas1-5/+10
If we lose connection with the server while a request was pending, the request callback is still triggered but with NULL buffer. Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2021-07-28lib: add wpipc libraryJulian Bouzas1-0/+104
Simple library that uses sockets for inter-process communication. It provides an API to create server and client objects. Users can add custom handlers in the server, and clients can send requests for those custom handlers. Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>