summaryrefslogtreecommitdiffstats
path: root/meta-pipewire/recipes-multimedia/pipewire
AgeCommit message (Collapse)AuthorFilesLines
2019-10-04Revert "pipewire config: enable bluez modules in pipewire and wireplumber"George Kiagiadakis2-7/+3
This reverts commit 9fc6d8e9bbc9746777c03471b643992abcb182a5. Native bluetooth implementation is no longer there. Bug-AGL: SPEC-2792 Change-Id: Ib45a0a3036aae8f3ac6dd29ed4e1f49e041af057 Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2019-10-04pipewire: update patches for halibutGeorge Kiagiadakis9-2826/+289
This removes the bluetooth-related patches that are superseeded by the bluez-alsa based implementation. Additionally, it adds a fix for a "sendmsg" error that was appearing randomly sometimes. Bug-AGL: SPEC-2792 Change-Id: I9835cbb5ec7cd21cbc5de2fd92a8a1c1356b0dea Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2019-09-02pipewire config: enable bluez modules in pipewire and wireplumberGeorge Kiagiadakis2-3/+7
In pipewire we only enable that if the bluez5 feature is enabled because otherwise the module is not compiled and will error out at runtime. In wireplumber we always enable it since it does not depend on bluez. Bug-AGL: SPEC-2792 Change-Id: I53bbc387bccd953633affd4fc34949a2fd488ed7 Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2019-09-02pipewire: add patches for bluetooth supportGeorge Kiagiadakis7-1/+2865
Bug-AGL: SPEC-2792 Change-Id: Ida682a405c4cc5d2f84a98cb71f89a7bb41ad489 Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2019-07-30pipewire: add patch to fix non-S16 negotiation issuehalibut_8.0.0halibut/8.0.08.0.0George Kiagiadakis2-0/+45
Bug-AGL: SPEC-2674 Change-Id: Id5b099a8efed2a2f9bdae142ef69bbc09deae8e8 Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2019-07-12pipewire: add and enable native gstreamer audio source & sink elements for ↵George Kiagiadakis7-0/+1463
pipewire Bug-AGL: SPEC-2634 Change-Id: I10301e0c244fad60b31a4dfa6dc0dc61512a4867 Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2019-07-12pipewire: update patchesGeorge Kiagiadakis10-13/+429
0004 adds a useful cli utility 0006 aids debugging 0007 fixes audio in qemu (SPEC-2570) 0008 & 0009 add functionality necessary for implementing multiple streams per device The rest is the same as before Bug-AGL: SPEC-2570 Change-Id: If6736f0fc87491edce6981c0be44094239ddaa89 Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2019-06-27pipewire: install environment variable filesGeorge Kiagiadakis4-2/+34
DISABLE_RTKIT saves us from nasty error messages about not being able to connect to dbus. This doesn't make sense anyway, real-time mode should not be enabled on embedded. PIPEWIRE_DEBUG/G_MESSAGES_DEBUG are put there in comments so that people can easily uncomment to figure out what is wrong with their pipewire setup. Bug-AGL: SPEC-2473 Change-Id: Id07d3d21f472885434158c300a227d53020c2189 Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2019-06-27pipewire: run with the System::Pipewire smack labelGeorge Kiagiadakis3-2/+19
Pipewire shares memory with its clients using open file descriptors (memfd or shared memory file) which are created within pipewire and therefore they have the same smack label as the pipewire process. Clients must be able to read and write to this memory, therefore they need rw acess to that smack label. Since all AGL apps have only write access to the System label, we need to use a different smack label which can be granted rw access from the applications that need to use audio. "System::Pipewire" is chosen here to follow the "System::Sub" pattern that is described in the documentation. Bug-AGL: SPEC-2554 Change-Id: I81cbf82adfde3ef4f67872bd91293370339b18d7 Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2019-06-25pipewire: build with -mno-unaligned-access on armGeorge Kiagiadakis2-0/+29
Bug-AGL: SPEC-2393 Change-Id: I2e4feef547642c2b3d34403f7a1a45999cd4db11 Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2019-06-21pipewire: switch system-wide template systemd service & socket filesGeorge Kiagiadakis3-6/+58
This allows granting pipewire additional permissions, most notably the permission to access the alsa devices (SupplementaryGroups=audio) and therefore fixes pipewire for the "running as non-root" setup Bug-AGL: SPEC-2554 Change-Id: Ie9192a7f42f4929f70114ddc39a23d94f9ba84fc Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2019-06-20pipewire: Enable Bluetooth supportScott Murray1-0/+1
Add DISTRO_FEATURES based enabling of bluez5 support to pipewire recipe so the Bluetooth plugin is enabled for experimentation. Bug-AGL: SPEC-2473 Change-Id: Ic63df580c4005e924a2172d2d513dbdca94457f4 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-06-12pipewire: Add user session socket activationScott Murray1-0/+11
Add a bbappend to the pipewire recipe to create the required symlink in /etc/systemd/user/sockets.target.wants to enable per-user socket activation. A bbappend is used as this change is likely to be AGL specific (for now?). Bug-AGL: SPEC-2521 Change-Id: I4b349ab8151eabfb933f2dcfcf9d293fcb3ea321 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-06-12Fix the LIC_FILES_CHKSUM of the pipewire-conf-agl packageJan-Simon Möller1-0/+1
We were missing the LIC_FILES_CHKSUM = "file:///${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" Bug-AGL: SPEC-2473 Change-Id: Ic7751ceb08fef1f19426e66c850740abf653fef7 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-06-11pipewire recipe plumbingJan-Simon Möller7-18/+47
This does enhance the recipes for pipewire and wireplumber in 2 ways: a) we add a separate package for the configuration and make it replaceable w/o recompiling pipewire or wireplumber itself b) this in turn makes the recipes not AGL specific and upstreamable as-is. v2: enhanced config recipes v3 & v4: fix typo Bug-AGL: SPEC-2473 Change-Id: I1f6f32d7cc64d9424706ca6bc87550f5e2c6d359 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-05-31meta-pipewire: initial pipewire recipeGeorge Kiagiadakis6-0/+1890
Bug-AGL: SPEC-2473 Change-Id: Ide95be79adb69437564e94071d0315ae5cfd9ae2 Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>