diff options
author | Scott Murray <scott.murray@konsulko.com> | 2017-11-14 15:37:40 -0500 |
---|---|---|
committer | Scott Murray <scott.murray@konsulko.com> | 2017-11-14 15:37:40 -0500 |
commit | 74b387be8d81928cace317e902c5c8efaa095d7f (patch) | |
tree | 6a1ba37c80bb098a9acbbba74daf620c55103d2f /recipes-multimedia/pulseaudio-config-module-router/files | |
parent | 93b83aab80796ab959a95bf383c27f11357d52eb (diff) |
Pulseaudio configuration fixes
Some fixes to work when 4A is enabled:
- Simplified the echo that adds /etc/pulse/default.d to
/etc/pulse/default.pa, as it was resulting in "-e -n" in the file
sometimes for reasons unknown.
- PulseAudio does not like the /etc/pulse/default.d directory being
empty, and additionally it was realized that the module unloads that
are in module-router.pa are useful in all our usecases and should
likely always be present. To kill two birds with one stone, the
unload lines have been moved to a 10-unload-modules.pa file that
is installed by the pulseaudio bbappend, and those lines have been
removed from the module-router.pa files, which has been renamed to
20-module-router.pa so that ordering will be maintained if someone
needs to reenable it.
Change-Id: I70cd1d0dfc596b894009c1bdd7520ffe6394e60e
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Diffstat (limited to 'recipes-multimedia/pulseaudio-config-module-router/files')
-rw-r--r-- | recipes-multimedia/pulseaudio-config-module-router/files/20-module-router.pa | 3 | ||||
-rw-r--r-- | recipes-multimedia/pulseaudio-config-module-router/files/module-router.pa | 7 |
2 files changed, 3 insertions, 7 deletions
diff --git a/recipes-multimedia/pulseaudio-config-module-router/files/20-module-router.pa b/recipes-multimedia/pulseaudio-config-module-router/files/20-module-router.pa new file mode 100644 index 000000000..4060feb49 --- /dev/null +++ b/recipes-multimedia/pulseaudio-config-module-router/files/20-module-router.pa @@ -0,0 +1,3 @@ +.ifexists module-router.so +load-module module-router +.endif diff --git a/recipes-multimedia/pulseaudio-config-module-router/files/module-router.pa b/recipes-multimedia/pulseaudio-config-module-router/files/module-router.pa deleted file mode 100644 index 4ead26e39..000000000 --- a/recipes-multimedia/pulseaudio-config-module-router/files/module-router.pa +++ /dev/null @@ -1,7 +0,0 @@ -.ifexists module-router.so -unload-module module-role-cork -unload-module module-device-restore -unload-module module-stream-restore -unload-module module-card-restore -load-module module-router -.endif |