summaryrefslogtreecommitdiffstats
path: root/meta-multimedia
diff options
context:
space:
mode:
authorShuai Zhang <shuai.zhang@oss.qualcomm.com>2026-03-06 18:31:50 +0800
committerKhem Raj <raj.khem@gmail.com>2026-03-18 14:33:28 -0700
commit786f3323d771f50c627506adfe0713333d672a0a (patch)
treed25d5cf46136bc48c099783ca9e93e4e1d8f0383 /meta-multimedia
parentd44ea32dba14d55a2707b30d49630dbad03ea89e (diff)
downloadmeta-openembedded-786f3323d771f50c627506adfe0713333d672a0a.tar.gz
pipewire: enable aptX Bluetooth codec support
Enable aptX/aptX-HD codec support in PipeWire's Bluetooth A2DP codec. This allows A2DP streaming with aptX-capable headsets when libfreeaptx is available. Signed-off-by: Shuai Zhang <shuai.zhang@oss.qualcomm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-multimedia')
-rw-r--r--meta-multimedia/recipes-multimedia/pipewire/pipewire_1.6.0.bb8
1 files changed, 6 insertions, 2 deletions
diff --git a/meta-multimedia/recipes-multimedia/pipewire/pipewire_1.6.0.bb b/meta-multimedia/recipes-multimedia/pipewire/pipewire_1.6.0.bb
index 8a33e7f425..596e86845b 100644
--- a/meta-multimedia/recipes-multimedia/pipewire/pipewire_1.6.0.bb
+++ b/meta-multimedia/recipes-multimedia/pipewire/pipewire_1.6.0.bb
@@ -49,6 +49,9 @@ SYSTEMD_PACKAGES = "${PN}"
49# AptX and LDAC are not available in OE. Currently, neither 49# AptX and LDAC are not available in OE. Currently, neither
50# are lv2, ROC, and libmysofa. 50# are lv2, ROC, and libmysofa.
51# 51#
52# AptX support is only available via freeaptx (libfreeaptx)
53# for Bluetooth audio (A2DP).
54#
52# The RTKit module is deprecated in favor of the newer RT module. 55# The RTKit module is deprecated in favor of the newer RT module.
53# It still exists for legacy setups that still include it in 56# It still exists for legacy setups that still include it in
54# their PipeWire configuration files. 57# their PipeWire configuration files.
@@ -62,7 +65,6 @@ EXTRA_OEMESON += " \
62 -Dsession-managers='[]' \ 65 -Dsession-managers='[]' \
63 -Dlv2=disabled \ 66 -Dlv2=disabled \
64 -Droc=disabled \ 67 -Droc=disabled \
65 -Dbluez5-codec-aptx=disabled \
66 -Dbluez5-codec-ldac=disabled \ 68 -Dbluez5-codec-ldac=disabled \
67 -Dlegacy-rtkit=false \ 69 -Dlegacy-rtkit=false \
68 -Dlibmysofa=disabled \ 70 -Dlibmysofa=disabled \
@@ -86,7 +88,7 @@ BLUETOOTH_AAC = "${@bb.utils.contains('LICENSE_FLAGS_ACCEPTED', 'commercial', 'b
86 88
87PACKAGECONFIG:class-target ??= " \ 89PACKAGECONFIG:class-target ??= " \
88 ${@bb.utils.contains('DISTRO_FEATURES', 'zeroconf', 'avahi', '', d)} \ 90 ${@bb.utils.contains('DISTRO_FEATURES', 'zeroconf', 'avahi', '', d)} \
89 ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez bluez-opus ${BLUETOOTH_AAC}', '', d)} \ 91 ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez bluez-opus ${BLUETOOTH_AAC} bluez-aptx', '', d)} \
90 ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd systemd-system-service systemd-user-service', '', d)} \ 92 ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd systemd-system-service systemd-user-service', '', d)} \
91 ${@bb.utils.filter('DISTRO_FEATURES', 'alsa vulkan pulseaudio', d)} \ 93 ${@bb.utils.filter('DISTRO_FEATURES', 'alsa vulkan pulseaudio', d)} \
92 ${PIPEWIRE_SESSION_MANAGER} \ 94 ${PIPEWIRE_SESSION_MANAGER} \
@@ -104,6 +106,8 @@ PACKAGECONFIG[bluez] = "-Dbluez5=enabled,-Dbluez5=disabled,bluez5 sbc glib-2.0-n
104PACKAGECONFIG[bluez-aac] = "-Dbluez5-codec-aac=enabled,-Dbluez5-codec-aac=disabled,fdk-aac" 106PACKAGECONFIG[bluez-aac] = "-Dbluez5-codec-aac=enabled,-Dbluez5-codec-aac=disabled,fdk-aac"
105PACKAGECONFIG[bluez-opus] = "-Dbluez5-codec-opus=enabled,-Dbluez5-codec-opus=disabled,libopus" 107PACKAGECONFIG[bluez-opus] = "-Dbluez5-codec-opus=enabled,-Dbluez5-codec-opus=disabled,libopus"
106PACKAGECONFIG[bluez-lc3] = "-Dbluez5-codec-lc3=enabled,-Dbluez5-codec-lc3=disabled,liblc3" 108PACKAGECONFIG[bluez-lc3] = "-Dbluez5-codec-lc3=enabled,-Dbluez5-codec-lc3=disabled,liblc3"
109# Eneble libfreeaptx to support bluetooth audio codec
110PACKAGECONFIG[bluez-aptx] = "-Dbluez5-codec-aptx=enabled,-Dbluez5-codec-aptx=disabled,libfreeaptx"
107# From the pipewire git log: 111# From the pipewire git log:
108# "Some Linux phones doesn't use oFono but ModemManager to control the modem." 112# "Some Linux phones doesn't use oFono but ModemManager to control the modem."
109# This packageconfig enables modemmanager specific code in the BlueZ backend. 113# This packageconfig enables modemmanager specific code in the BlueZ backend.