aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-multimedia
diff options
context:
space:
mode:
authorMatt Porter <mporter@konsulko.com>2017-06-27 22:47:15 +0300
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-06-28 11:03:23 +0000
commitab48fef29885a7c92c6548b24f98354127ab59c5 (patch)
treee0be39cd63ca71d45cd1762a790b1db6f597cf38 /recipes-multimedia
parent49f56fa1c73e2b207dd9cfc8e6320e7098ffb08e (diff)
disable module-role-cork by default
module-role-cork's hardcoded corking policy can conflict with the configurable policy management that is part of module-router and AudioManager. Since module-router/AM are enabled by default in demo builds, we must also disable module-role-cork to avoid conflicting corking policies. Bug-AGL: SPEC-710 Change-Id: I55442b5c11e711783fb4f890d1f26227c295d122 Signed-off-by: Matt Porter <mporter@konsulko.com>
Diffstat (limited to 'recipes-multimedia')
-rw-r--r--recipes-multimedia/pulseaudio/pulseaudio/0001-disable-module-role-cork-by-default.patch30
-rw-r--r--recipes-multimedia/pulseaudio/pulseaudio_%.bbappend1
2 files changed, 31 insertions, 0 deletions
diff --git a/recipes-multimedia/pulseaudio/pulseaudio/0001-disable-module-role-cork-by-default.patch b/recipes-multimedia/pulseaudio/pulseaudio/0001-disable-module-role-cork-by-default.patch
new file mode 100644
index 000000000..7472b47b6
--- /dev/null
+++ b/recipes-multimedia/pulseaudio/pulseaudio/0001-disable-module-role-cork-by-default.patch
@@ -0,0 +1,30 @@
+From 9cbdc0472973c23b4e93200ed30afecbd0ef24d6 Mon Sep 17 00:00:00 2001
+From: Matt Porter <mporter@konsulko.com>
+Date: Tue, 27 Jun 2017 21:50:23 +0300
+Subject: [PATCH] disable module-role-cork by default
+
+module-role-cork's hardcoded default corking policies can conflict
+with module-router and AudioManager's configurable routing policies.
+Disable it to avoid unwanted corking changes on streams.
+
+Signed-off-by: Matt Porter <mporter@konsulko.com>
+---
+ src/daemon/default.pa.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/daemon/default.pa.in b/src/daemon/default.pa.in
+index d46bd5e..023e680 100755
+--- a/src/daemon/default.pa.in
++++ b/src/daemon/default.pa.in
+@@ -151,7 +151,7 @@ load-module module-systemd-login
+ load-module module-position-event-sounds
+
+ ### Cork music/video streams when a phone stream is active
+-load-module module-role-cork
++#load-module module-role-cork
+
+ ### Modules to allow autoloading of filters (such as echo cancellation)
+ ### on demand. module-filter-heuristics tries to determine what filters
+--
+2.11.0
+
diff --git a/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend b/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend
index 8ff6a736e..986305489 100644
--- a/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend
+++ b/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend
@@ -1,3 +1,4 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
SRC_URI += "file://0006-auto-load-module-router.patch"
+SRC_URI += "file://0001-disable-module-role-cork-by-default.patch"