diff options
author | Toshiaki Isogai <isogai.toshiaki@nttd-mse.com> | 2017-01-24 18:00:37 +0900 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2017-01-26 14:13:56 +0000 |
commit | c3a3974d075836fc700e57b2020f4b5473c89021 (patch) | |
tree | ba8022eedcaada65eeed1d829c34c48f46d01f2b /recipes-multimedia/pulseaudio/pulseaudio-8.0 | |
parent | 2f5a0f2ed409b19965b1bcf198fcfacd0559a2a5 (diff) |
Add audio management between Media Player and Radio.chinook_3.0.1chinook/3.0.13.0.1
This patch enables loading router-module by default to manage audio routing
when both Media Player and Radio start playing.
Latter audio source selected by user enforces existing one corked.
Detail in below.
https://jira.automotivelinux.org/browse/SPEC-378
Change-Id: I407924b1346f95573596434ba9b17c732cae5146
Signed-off-by: Toshiaki Isogai <isogai.toshiaki@nttd-mse.com>
Diffstat (limited to 'recipes-multimedia/pulseaudio/pulseaudio-8.0')
-rw-r--r-- | recipes-multimedia/pulseaudio/pulseaudio-8.0/0006-auto-load-module-router.patch | 26 |
1 files changed, 26 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 ++ |