diff options
author | Matt Porter <mporter@konsulko.com> | 2017-08-04 01:20:14 +0300 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2017-08-04 16:35:03 +0000 |
commit | 85dcab8074b39bab42ed70392325713bf647e9f5 (patch) | |
tree | 68eb99f72ccc7db2fc64db66154b4ab94e7e82b2 /meta-agl-bsp/meta-ti/recipes-multimedia/pulseaudio | |
parent | e308cbdd4249ea16596dfbaf4cd2831d759a34d8 (diff) |
meta-agl-bsp: meta-ti: pulseaudio: set sink/source for dra7xx-evm
pulseaudio, by default, chooses
alsa_output.platform-omap-hdmi-audio.0.auto.analog-stereo as the
default sink. This is not desired since the HDMI is not normally
used as the dra7xx-evm includes an LCD. Configure the CPU board's
alsa_output.platform-sound0.analog-stereo (Line-Out/Headphone)
as the default sink and configure the default source too.
Bug-AGL: SPEC-804
Change-Id: I5d19aa564c8c162d1f5c68ae298d1d25592c8dc9
Signed-off-by: Matt Porter <mporter@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10505
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Thomas Rini <trini@konsulko.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'meta-agl-bsp/meta-ti/recipes-multimedia/pulseaudio')
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 \ +" |