aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp
diff options
context:
space:
mode:
Diffstat (limited to 'meta-agl-bsp')
-rw-r--r--meta-agl-bsp/meta-ti/recipes-multimedia/pulseaudio/pulseaudio-9.0/dra7xx-evm-set-default-sink-source.patch15
-rw-r--r--meta-agl-bsp/meta-ti/recipes-multimedia/pulseaudio/pulseaudio_9.0.bbappend5
2 files changed, 20 insertions, 0 deletions
diff --git a/meta-agl-bsp/meta-ti/recipes-multimedia/pulseaudio/pulseaudio-9.0/dra7xx-evm-set-default-sink-source.patch b/meta-agl-bsp/meta-ti/recipes-multimedia/pulseaudio/pulseaudio-9.0/dra7xx-evm-set-default-sink-source.patch
new file mode 100644
index 000000000..d45c5ef50
--- /dev/null
+++ b/meta-agl-bsp/meta-ti/recipes-multimedia/pulseaudio/pulseaudio-9.0/dra7xx-evm-set-default-sink-source.patch
@@ -0,0 +1,15 @@
+--- pulseaudio-9.0/src/daemon/default.pa.in.orig 2017-08-04 00:07:08.833004893 +0300
++++ pulseaudio-9.0/src/daemon/default.pa.in 2017-08-04 00:09:18.045102067 +0300
+@@ -162,8 +162,10 @@
+ ])dnl
+
+ ### Make some devices default
+-#set-default-sink output
+-#set-default-source input
++# DRA7xx-EVM CPU Board Line-Out/Headphone
++set-default-sink alsa_output.platform-sound0.analog-stereo
++# DRA7xx-EVM CPU Board Microphone/Line-In
++set-default-source alsa_input.platform-sound0.analog-stereo
+
+ .ifexists module-router.so
+ load-module module-router
diff --git a/meta-agl-bsp/meta-ti/recipes-multimedia/pulseaudio/pulseaudio_9.0.bbappend b/meta-agl-bsp/meta-ti/recipes-multimedia/pulseaudio/pulseaudio_9.0.bbappend
new file mode 100644
index 000000000..dfddffcfd
--- /dev/null
+++ b/meta-agl-bsp/meta-ti/recipes-multimedia/pulseaudio/pulseaudio_9.0.bbappend
@@ -0,0 +1,5 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/pulseaudio-9.0:"
+
+SRC_URI += " \
+ file://dra7xx-evm-set-default-sink-source.patch \
+"