Age | Commit message (Collapse) | Author | Files | Lines |
|
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
|
|
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
|
|
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
|
|
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
|
|
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
|
|
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
|
|
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>
|
|
This can be loaded with `pipewire -c pipewire-ic-ipc.conf`
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
|
|
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
|
|
caught by valgrind
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
|
|
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
|
|
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>
|
|
https://systemd.io/CODING_STYLE/
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
|
|
Use a heavily stripped-down copy of pipewire's test framework instead
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
|
|
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
|
|
See #39, #16
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
|
|
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>
|
|
connection
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
|
|
If we don't remove the socket from epoll when the connection is lost, we risk
having the lost callback triggered more than once by epoll, creating race
condition in the unit test because more than 1 event happened. The epoll thread
and socket will be re-created again when re-connecting.
Note that we cannot destroy the epoll thread before triggering the lost
connection callback because we are running the callback in the epoll thread,
which is why removing the socket from epoll is the only way to make sure the
lost connection callback is only triggered once.
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
|
|
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
|
|
reply/request
Fixes valgrind errors
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
|
|
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
|
|
Fixes hanging issues when running test with valgrind.
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
|
|
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
|
|
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
|
|
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
|
|
This breaks the valgrind test setup, as this G_SLICE overrides
G_SLICE=always-malloc from valgrind_env
This reverts commit f806da6f3e30d032a5fff545211d80d64c197841.
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
|
|
This can catch allocation mistakes in the g_slice allocator
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
|
|
it's just a nicer syntax
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
|
|
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
|
|
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
|
|
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
|
|
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
|
|
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
|
|
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
|
|
This is only intended to be used with specific embedded
applications. There is no good reason to use it on
a standard desktop environment.
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
|
|
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>
|
|
|