summaryrefslogtreecommitdiffstats
path: root/meta-audio-4a-framework/recipes-multimedia/pulseaudio/files/default.pa.4a
diff options
context:
space:
mode:
authorRonan Le Martret <ronan.lemartret@iot.bzh>2017-12-27 16:57:55 +0100
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2018-01-04 12:18:39 +0000
commitb386b239c83d2f2759b15ec407c6f71857fa8eb5 (patch)
treea6885d779d62b68252e1a76c4e78db3df8313caf /meta-audio-4a-framework/recipes-multimedia/pulseaudio/files/default.pa.4a
parent389797ecaf4816378357ac9bd10b6e2d8f50bd4d (diff)
Fix default.pa for 4a
- This file "default.pa" should be used with 4a. - 4a default configuration with AGL default audio roles was valided. EE-must-fix Bug-AGL: SPEC-1234 Change-Id: I4d1487efa182033ebff9c5153fa5e78920edaab2 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Diffstat (limited to 'meta-audio-4a-framework/recipes-multimedia/pulseaudio/files/default.pa.4a')
-rw-r--r--meta-audio-4a-framework/recipes-multimedia/pulseaudio/files/default.pa.4a33
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-audio-4a-framework/recipes-multimedia/pulseaudio/files/default.pa.4a b/meta-audio-4a-framework/recipes-multimedia/pulseaudio/files/default.pa.4a
new file mode 100644
index 00000000..0afab22b
--- /dev/null
+++ b/meta-audio-4a-framework/recipes-multimedia/pulseaudio/files/default.pa.4a
@@ -0,0 +1,33 @@
+#!/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
+#load-module module-alsa-sink device=Multimedia
+#load-module module-alsa-sink device=Streaming
+load-module module-alsa-sink device=Video
+#load-module module-alsa-sink device=CustomMedium
+load-module module-alsa-sink device=Navigation
+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