summaryrefslogtreecommitdiffstats
path: root/meta-ivi-common/recipes-multimedia/pulseaudio
diff options
context:
space:
mode:
authorMatt Porter <mporter@konsulko.com>2017-05-17 21:45:14 +0300
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-05-20 20:07:03 +0000
commite8054e0e38c2c4645fe8aec731445fca2460f96d (patch)
treeabfaf7094fc419e623936e885ad2aa780f6fc300 /meta-ivi-common/recipes-multimedia/pulseaudio
parent8f73d089abd5221b92ead3ba01d9176bbd1067d8 (diff)
pulseaudio: enable ofono hfp backend
Enable HFP support using the Ofono backend by default. AGL-Bug: SPEC-597 Change-Id: I80435f287f2e71e267cef1599c2b377777150644 Signed-off-by: Matt Porter <mporter@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9411 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'meta-ivi-common/recipes-multimedia/pulseaudio')
-rw-r--r--meta-ivi-common/recipes-multimedia/pulseaudio/pulseaudio-9.0/enable-ofono-hfp-backend.patch11
-rw-r--r--meta-ivi-common/recipes-multimedia/pulseaudio/pulseaudio_9.0.bbappend1
2 files changed, 12 insertions, 0 deletions
diff --git a/meta-ivi-common/recipes-multimedia/pulseaudio/pulseaudio-9.0/enable-ofono-hfp-backend.patch b/meta-ivi-common/recipes-multimedia/pulseaudio/pulseaudio-9.0/enable-ofono-hfp-backend.patch
new file mode 100644
index 000000000..85b1ae03d
--- /dev/null
+++ b/meta-ivi-common/recipes-multimedia/pulseaudio/pulseaudio-9.0/enable-ofono-hfp-backend.patch
@@ -0,0 +1,11 @@
+--- pulseaudio-9.0/src/daemon/default.pa.in.orig 2017-05-17 17:26:20.415369638 +0000
++++ pulseaudio-9.0/src/daemon/default.pa.in 2017-05-17 17:26:49.995316383 +0000
+@@ -82,7 +82,7 @@
+ .endif
+
+ .ifexists module-bluetooth-discover@PA_SOEXT@
+-load-module module-bluetooth-discover
++load-module module-bluetooth-discover headset=ofono
+ .endif
+ ])dnl
+
diff --git a/meta-ivi-common/recipes-multimedia/pulseaudio/pulseaudio_9.0.bbappend b/meta-ivi-common/recipes-multimedia/pulseaudio/pulseaudio_9.0.bbappend
index efe51e90d..d87693ad2 100644
--- a/meta-ivi-common/recipes-multimedia/pulseaudio/pulseaudio_9.0.bbappend
+++ b/meta-ivi-common/recipes-multimedia/pulseaudio/pulseaudio_9.0.bbappend
@@ -7,6 +7,7 @@ SRC_URI += " \
file://0004-sink-input-Code-cleanup-regarding-volume-ramping.patch \
file://0005-sink-input-volume-Add-support-for-volume-ramp-factor.patch \
file://0006-sink-input-Remove-pa_sink_input_set_volume_ramp.patch;apply=no \
+ file://enable-ofono-hfp-backend.patch \
"
PACKAGES =+ " pulseaudio-module-dev"