summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkristof.petho <kristof.petho@gmail.com>2013-02-14 13:29:24 +0100
committerkristof.petho <kristof.petho@gmail.com>2013-02-14 13:29:24 +0100
commitf7ad3af0a7a2aa64fa284d2968bbaf9c136f5860 (patch)
tree44f6b8bfa8399e491f340a54041ffdeef30fd48a
parentbb39d2ca33d3dbec8d45dbc2e549005e0366d195 (diff)
downloaddevice_samsung_n7100-f7ad3af0a7a2aa64fa284d2968bbaf9c136f5860.zip
device_samsung_n7100-f7ad3af0a7a2aa64fa284d2968bbaf9c136f5860.tar.gz
device_samsung_n7100-f7ad3af0a7a2aa64fa284d2968bbaf9c136f5860.tar.bz2
Fix audio recording on N7100
Change-Id: I627fb63c45c5d0971f7dbc60fd5c246d1a1148bb
-rw-r--r--audio/audio_hw.h4
-rw-r--r--configs/tiny_hw.xml6
2 files changed, 5 insertions, 5 deletions
diff --git a/audio/audio_hw.h b/audio/audio_hw.h
index d909104..889f747 100644
--- a/audio/audio_hw.h
+++ b/audio/audio_hw.h
@@ -32,8 +32,8 @@
#define PLAYBACK_PERIOD_COUNT 8
#define PLAYBACK_SHORT_PERIOD_COUNT 2
-#define CAPTURE_PERIOD_SIZE 1056
-#define CAPTURE_PERIOD_COUNT 2
+#define CAPTURE_PERIOD_SIZE 1024
+#define CAPTURE_PERIOD_COUNT 4
#define SHORT_PERIOD_SIZE 192
diff --git a/configs/tiny_hw.xml b/configs/tiny_hw.xml
index 335102e..c50a139 100644
--- a/configs/tiny_hw.xml
+++ b/configs/tiny_hw.xml
@@ -128,7 +128,7 @@ We are able to have most of our routing static so do that
<ctl name="SPKR DAC1 Volume" val="1"/>
<ctl name="Speaker Mixer Volume" val="3"/>
<ctl name="Speaker Boost Volume" val="4"/>
- <ctl name="Speaker Volume" val="55"/>
+ <ctl name="Speaker Volume" val="57"/>
<ctl name="AIF1DAC1 EQ Switch" val="1"/>
<ctl name="AIF1DAC1 EQ1 Volume" val="9"/>
<ctl name="AIF1DAC1 EQ2 Volume" val="7"/>
@@ -275,7 +275,7 @@ We are able to have most of our routing static so do that
<ctl name="MainMicBias Mode" val="1"/>
<ctl name="IN2L Volume" val="28"/>
<ctl name="MIXINL IN2L Switch" val="1"/>
- <ctl name="MIXINL IN2L Volume" val="0"/>
+ <ctl name="MIXINL IN2L Volume" val="1"/>
<ctl name="AIF1ADCL Source" val="0"/>
<ctl name="AIF1ADC1 HPF Mode" val="0"/>
<ctl name="AIF1ADC1 HPF Switch" val="1"/>
@@ -295,7 +295,7 @@ We are able to have most of our routing static so do that
<ctl name="SubMicBias Mode" val="1"/>
<ctl name="IN1R Volume" val="25"/>
<ctl name="MIXINR IN1R Switch" val="1"/>
- <ctl name="MIXINR IN1R Volume" val="0"/>
+ <ctl name="MIXINR IN1R Volume" val="1"/>
<ctl name="AIF1ADCR Source" val="1"/>
<ctl name="AIF1ADC1 HPF Mode" val="1"/>
<ctl name="AIF1ADC1 HPF Switch" val="1"/>