pulseaudio: disable exit-idle-time in daemon.conf 65/12765/1
authorMatt Porter <mporter@konsulko.com>
Wed, 13 Dec 2017 23:04:28 +0000 (18:04 -0500)
committerMatt Porter <mporter@konsulko.com>
Tue, 19 Dec 2017 18:05:40 +0000 (13:05 -0500)
With bluetooth connected, pulseaudio is segfaulting during
idle shutdown. Implement a workaround to avoid idle shutdown
by disabling the exit idle timer that is on by default.

Bug-AGL: SPEC-1188

Change-Id: Ie5868ed2a89d275973a7aca2555a0216c67d090a
Signed-off-by: Matt Porter <mporter@konsulko.com>
meta-ivi-common/recipes-multimedia/pulseaudio/pulseaudio-10.0/0001-daemon-daemon.conf-disable-idle-exit.patch [new file with mode: 0644]
meta-ivi-common/recipes-multimedia/pulseaudio/pulseaudio_10.0.bbappend

diff --git a/meta-ivi-common/recipes-multimedia/pulseaudio/pulseaudio-10.0/0001-daemon-daemon.conf-disable-idle-exit.patch b/meta-ivi-common/recipes-multimedia/pulseaudio/pulseaudio-10.0/0001-daemon-daemon.conf-disable-idle-exit.patch
new file mode 100644 (file)
index 0000000..98f7ce4
--- /dev/null
@@ -0,0 +1,28 @@
+From 4410e137da046afd072435ae8cf99a677b277442 Mon Sep 17 00:00:00 2001
+From: Matt Porter <mporter@konsulko.com>
+Date: Wed, 13 Dec 2017 17:24:10 -0500
+Subject: [PATCH] daemon: daemon.conf: disable idle exit
+
+Disable exit on idle by default.
+
+Signed-off-by: Matt Porter <mporter@konsulko.com>
+---
+ src/daemon/daemon.conf.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/daemon/daemon.conf.in b/src/daemon/daemon.conf.in
+index f3a1cc32..5c5e948c 100644
+--- a/src/daemon/daemon.conf.in
++++ b/src/daemon/daemon.conf.in
+@@ -39,7 +39,7 @@ ifelse(@HAVE_DBUS@, 1, [dnl
+ ; realtime-scheduling = yes
+ ; realtime-priority = 5
+-; exit-idle-time = 20
++exit-idle-time = -1
+ ; scache-idle-time = 20
+ ; dl-search-path = (depends on architecture)
+-- 
+2.11.0
+
index f59ee89..6833ca9 100644 (file)
@@ -8,6 +8,7 @@ SRC_URI += " \
        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 \
+       file://0001-daemon-daemon.conf-disable-idle-exit.patch \
 "
 
 PACKAGES =+ " pulseaudio-module-dev"