Revert "Config tweaked for AP."
This reverts commit 594a182a39a3245ce54c3b6f8f65ce62a19be2d7.
diff --git a/audio_hw.c b/audio_hw.c
index 33f3112..47b7e51 100644
--- a/audio_hw.c
+++ b/audio_hw.c
@@ -195,7 +195,7 @@
static uint32_t out_get_sample_rate(const struct audio_stream *stream)
{
- return 48000;
+ return 44100;
}
static int out_set_sample_rate(struct audio_stream *stream, uint32_t rate)
@@ -620,7 +620,7 @@
pthread_mutex_unlock(&adev->route_lock);
in->config.channels = 2;
- in->config.rate = 48000;
+ in->config.rate = 44100;
in->config.period_count = 4;
in->config.period_size = 320;
in->config.format = PCM_FORMAT_S16_LE;
diff --git a/pandaboard.xml b/pandaboard.xml
index ad1455f..b266c1a 100644
--- a/pandaboard.xml
+++ b/pandaboard.xml
@@ -10,10 +10,23 @@
<!-- # ABE playback path through DL1 -->
<ctl name="DL1 Mixer Multimedia" val="1"/>
<ctl name="Sidetone Mixer Playback" val="1"/>
- <ctl name="DL1 PDM Switch" val="0"/>
- <ctl name="DL1 MM_EXT Switch" val="1"/>
+ <ctl name="DL1 PDM Switch" val="1"/>
<ctl name="DL1 Media Playback Volume" val="120,120"/>
<ctl name="SDT DL Volume" val="120"/>
+
+ <!-- # ABE PDM-UL Capture path -->
+ <ctl name="MUX_UL00" val="None"/>
+ <ctl name="MUX_UL11" val="AMic0"/>
+ <ctl name="MUX_UL10" val="AMic1"/>
+
+ <!-- # TWL6040 playback path -->
+ <ctl name="Headset Left Playback" val="1"/>
+ <ctl name="Headset Right Playback" val="1"/>
+ <ctl name="Capture Volume" val="4"/>
+
+ <!-- # TWL6040 Capture Path -->
+ <ctl name="Analog Left Capture Route" val="Aux/FM Left"/>
+ <ctl name="Capture Preamplifier Volume" val="2"/>
</path>
<device name="speaker">