summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmit Pundir <amit.pundir@linaro.org>2020-02-26 13:24:11 +0530
committerAmit Pundir <amit.pundir@linaro.org>2020-03-30 18:57:11 +0530
commite62d2e6075379f82a7aa6d3a8017cb3e55b91e2b (patch)
treeac4b61981198c09280f6a390bf0882894caf53ee
parent777d946adf9d73f30d39e985407d7112d65eda99 (diff)
db845c: audio: Set default audio out device to Analog speakers
Set default audio out device to Analog speakers. "PCM_DEVICE 0" corresponds to HDMI audio out (WIP). "PCM_DEVICE 1" is 8 Ohm Analog speakers. Change-Id: I818fe380ab0f4094f7364aa4357045b1927dc56b Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
-rw-r--r--audio/audio_hw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/audio_hw.c b/audio/audio_hw.c
index 805e2cd..13eb468 100644
--- a/audio/audio_hw.c
+++ b/audio/audio_hw.c
@@ -40,7 +40,7 @@
#include <tinyalsa/asoundlib.h>
#define PCM_CARD 0
-#define PCM_DEVICE 0
+#define PCM_DEVICE 1
#define OUT_PERIOD_MS 15