summaryrefslogtreecommitdiffstats
path: root/audio/audio_hw.h
diff options
context:
space:
mode:
authorDaniel Hillenbrand <daniel.hillenbrand@codeworkx.de>2012-08-01 13:34:50 +0200
committerDaniel Hillenbrand <daniel.hillenbrand@codeworkx.de>2012-08-01 13:34:50 +0200
commit6e680315ca93f883c39e5c5a46d8775eb335fe9b (patch)
treef351ec86ddeeb40991aa1b3c520d20d48d257ca3 /audio/audio_hw.h
parentdcd02929bdd97300d96944c6f9683b2f3043a470 (diff)
downloaddevice_samsung_i9300-6e680315ca93f883c39e5c5a46d8775eb335fe9b.zip
device_samsung_i9300-6e680315ca93f883c39e5c5a46d8775eb335fe9b.tar.gz
device_samsung_i9300-6e680315ca93f883c39e5c5a46d8775eb335fe9b.tar.bz2
audio: enable +30db boost for headset mic
Diffstat (limited to 'audio/audio_hw.h')
-rw-r--r--audio/audio_hw.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/audio/audio_hw.h b/audio/audio_hw.h
index 213d850..b01ab33 100644
--- a/audio/audio_hw.h
+++ b/audio/audio_hw.h
@@ -107,6 +107,7 @@ enum tty_modes {
struct mixer_ctls
{
struct mixer_ctl *mixinl_in1l_volume;
+ struct mixer_ctl *mixinl_in2l_volume;
};
struct route_setting
@@ -164,15 +165,15 @@ struct route_setting headset_input[] = {
{ .ctl_name = "MIXINL IN1L Switch", .intval = 0, },
{ .ctl_name = "MIXINR IN1R Switch", .intval = 0, },
{ .ctl_name = "Headset Mic Switch", .intval = 1, },
- { .ctl_name = "AIF1ADCL Source", .intval = 0, },
- { .ctl_name = "AIF1ADCR Source", .intval = 0, },
- { .ctl_name = "AIF2ADCL Source", .intval = 0, },
+ { .ctl_name = "IN2L Volume", .intval = 18, },
{ .ctl_name = "MIXINL IN2L Switch", .intval = 1, },
+ { .ctl_name = "MIXINL IN2L Volume", .intval = 0, },
{ .ctl_name = "AIF1ADC1 HPF Mode", .intval = 1, },
{ .ctl_name = "AIF1ADC1 HPF Switch", .intval = 1, },
- { .ctl_name = "IN2L Volume", .intval = 18, },
- { .ctl_name = "MIXINL IN2L Volume", .intval = 0, },
{ .ctl_name = "AIF1ADC1 Volume", .intval = 96, },
+ { .ctl_name = "AIF1ADCL Source", .intval = 0, },
+ { .ctl_name = "AIF1ADCR Source", .intval = 0, },
+ { .ctl_name = "AIF2ADCL Source", .intval = 0, },
{ .ctl_name = NULL, },
};