pulseaudio: enable ofono hfp backend 11/9411/3
authorMatt Porter <mporter@konsulko.com>
Wed, 17 May 2017 18:45:14 +0000 (21:45 +0300)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Sat, 20 May 2017 20:07:03 +0000 (20:07 +0000)
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>
meta-ivi-common/recipes-multimedia/pulseaudio/pulseaudio-9.0/enable-ofono-hfp-backend.patch [new file with mode: 0644]
meta-ivi-common/recipes-multimedia/pulseaudio/pulseaudio_9.0.bbappend

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 (file)
index 0000000..85b1ae0
--- /dev/null
@@ -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
index efe51e9..d87693a 100644 (file)
@@ -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"