aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-lxc/recipes-platform/images
diff options
context:
space:
mode:
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2021-07-15 16:38:49 +0300
committerGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2021-07-30 11:23:36 +0300
commit72ac5f60cf0ee94150471b17c35f4ea46c0dcffb (patch)
tree4be6e7d3a38d00103c33651b664cf5a4d1cbe8bd /meta-agl-lxc/recipes-platform/images
parent97d9a76cc73cec3ffadb9539cc76e56beaf8a9bc (diff)
meta-agl-lxc: integrate pipewire-ic-ipc and pull in agl-pipewire
pipewire-ic-ipc offers a small unix socket server that listens for the SUSPEND & RESUME requests from its clients and sets the "suspend.playback" metadata on pipewire. This allows wireplumber instances to catch changes to this metadata property and suspend or resume playback from applications appropriately. The purpose of this is to allow Instrument Cluster applications to suspend audio from other containers and play certain sounds exclusively. The server-side is implemented as a pipewire module that gets loaded in a separate pipewire process and behaves as a client to the actual pipewire daemon. It is not affected by pipewire daemon's stops & reloads, as it re-connects automatically to pipewire and synchronizes the "suspend.playback" status. The icipc-client application is an example that is not meant to be used in production. IC applications are expected to use the library directly. It is provided for testing & demo purposes. v2: - removed the client from the host image - updated the pipewire-ic-ipc git URI to point to AGL's gerrit Bug-AGL: SPEC-4027 Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com> Change-Id: I9e326797ce899c2579a0d7794202091e455c6c98
Diffstat (limited to 'meta-agl-lxc/recipes-platform/images')
-rw-r--r--meta-agl-lxc/recipes-platform/images/guest-image-cluster-demo.bb1
-rw-r--r--meta-agl-lxc/recipes-platform/images/lxc-host-image-demo.bb4
2 files changed, 4 insertions, 1 deletions
diff --git a/meta-agl-lxc/recipes-platform/images/guest-image-cluster-demo.bb b/meta-agl-lxc/recipes-platform/images/guest-image-cluster-demo.bb
index c07b8f7d..959a46a6 100644
--- a/meta-agl-lxc/recipes-platform/images/guest-image-cluster-demo.bb
+++ b/meta-agl-lxc/recipes-platform/images/guest-image-cluster-demo.bb
@@ -8,4 +8,5 @@ IMAGE_INSTALL += " \
weston-init \
weston-ini-conf-landscape \
refgui \
+ pipewire-ic-ipc \
"
diff --git a/meta-agl-lxc/recipes-platform/images/lxc-host-image-demo.bb b/meta-agl-lxc/recipes-platform/images/lxc-host-image-demo.bb
index 1af163b8..6a17cbed 100644
--- a/meta-agl-lxc/recipes-platform/images/lxc-host-image-demo.bb
+++ b/meta-agl-lxc/recipes-platform/images/lxc-host-image-demo.bb
@@ -7,7 +7,9 @@ CONTAINER_IMAGES ?= "agl-container-guest:guest-image-cluster-demo"
IMAGE_INSTALL += " \
kernel-modules \
- pipewire pipewire-alsa alsa-utils \
+ alsa-utils \
+ packagegroup-pipewire \
+ pipewire-ic-ipc \
${@bb.utils.contains('AGL_FEATURES', 'agl-drm-lease', 'drm-lease-manager', '', d)} \
"