aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-multimedia/pulseaudio
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-multimedia/pulseaudio')
-rw-r--r--recipes-multimedia/pulseaudio/pulseaudio-8.0/0006-auto-load-module-router.patch26
-rw-r--r--recipes-multimedia/pulseaudio/pulseaudio_8.0.bbappend6
2 files changed, 32 insertions, 0 deletions
diff --git a/recipes-multimedia/pulseaudio/pulseaudio-8.0/0006-auto-load-module-router.patch b/recipes-multimedia/pulseaudio/pulseaudio-8.0/0006-auto-load-module-router.patch
new file mode 100644
index 000000000..e1ae914fe
--- /dev/null
+++ b/recipes-multimedia/pulseaudio/pulseaudio-8.0/0006-auto-load-module-router.patch
@@ -0,0 +1,26 @@
+diff --git a/src/daemon/default.pa.in b/src/daemon/default.pa.in
+index 783e326..3c68638 100755
+--- a/src/daemon/default.pa.in
++++ b/src/daemon/default.pa.in
+@@ -35,9 +35,9 @@ load-sample-dir-lazy %WINDIR%\Media\*.wav
+ .fail
+
+ ### Automatically restore the volume of streams and devices
+-load-module module-device-restore
+-load-module module-stream-restore
+-load-module module-card-restore
++#load-module module-device-restore
++#load-module module-stream-restore
++#load-module module-card-restore
+
+ ### Automatically augment property information from .desktop files
+ ### stored in /usr/share/application
+@@ -195,3 +195,8 @@ ifelse(@HAVE_X11@, 1, [dnl
+ ### Make some devices default
+ #set-default-sink output
+ #set-default-source input
++
++.ifexists module-router.so
++load-module module-router
++.endif
++
diff --git a/recipes-multimedia/pulseaudio/pulseaudio_8.0.bbappend b/recipes-multimedia/pulseaudio/pulseaudio_8.0.bbappend
new file mode 100644
index 000000000..8e4d2d88f
--- /dev/null
+++ b/recipes-multimedia/pulseaudio/pulseaudio_8.0.bbappend
@@ -0,0 +1,6 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/pulseaudio-8.0:"
+
+SRC_URI += " \
+ file://0006-auto-load-module-router.patch \
+"
+