summaryrefslogtreecommitdiffstats
path: root/meta-audio-4a-framework/recipes-multimedia/pulseaudio/files
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2018-01-04 17:30:38 +0000
committerGerrit Code Review <gerrit@automotivelinux.org>2018-01-04 17:30:38 +0000
commit5f5052f120f048924800f35c3dfe52233695d05d (patch)
tree2fb3d57ccef75a0d4c55a88bc4622443b3d2ae0d /meta-audio-4a-framework/recipes-multimedia/pulseaudio/files
parent46eb4a3dbcaeae7eb321d153a577e2ee6460f4c7 (diff)
parent2e80d187a650faceee9b73a966a1680fb5be6531 (diff)
Merge "Fix default.pa for 4a" into eeleel_5.0.0eel/5.0.05.0.0
Diffstat (limited to 'meta-audio-4a-framework/recipes-multimedia/pulseaudio/files')
-rw-r--r--meta-audio-4a-framework/recipes-multimedia/pulseaudio/files/default.pa.4a (renamed from meta-audio-4a-framework/recipes-multimedia/pulseaudio/files/90-4a-modules.pa)21
1 files changed, 21 insertions, 0 deletions
diff --git a/meta-audio-4a-framework/recipes-multimedia/pulseaudio/files/90-4a-modules.pa b/meta-audio-4a-framework/recipes-multimedia/pulseaudio/files/default.pa.4a
index e041471d..0afab22b 100644
--- a/meta-audio-4a-framework/recipes-multimedia/pulseaudio/files/90-4a-modules.pa
+++ b/meta-audio-4a-framework/recipes-multimedia/pulseaudio/files/default.pa.4a
@@ -1,3 +1,22 @@
+#!/usr/bin/pulseaudio -nF
+#
+
+.fail
+
+### Automatically load driver modules for Bluetooth hardware
+.ifexists module-bluetooth-policy.so
+load-module module-bluetooth-policy
+.endif
+
+.ifexists module-bluetooth-discover.so
+load-module module-bluetooth-discover headset=ofono
+.endif
+
+load-module module-native-protocol-unix
+
+### Automatically suspend sinks/sources that become idle for too long
+load-module module-suspend-on-idle timeout=0
+
load-module module-alsa-sink device=Fallback
#load-module module-alsa-sink device=CustomLow
load-module module-alsa-sink device=Radio
@@ -10,3 +29,5 @@ load-module module-alsa-sink device=Phone
#load-module module-alsa-sink device=CustomHigh
#load-module module-alsa-sink device=Warning
load-module module-alsa-sink device=Emergency
+
+set-default-sink alsa_output.Fallback