diff options
author | Daniel Hillenbrand <daniel.hillenbrand@codeworkx.de> | 2012-07-24 16:17:24 +0200 |
---|---|---|
committer | Daniel Hillenbrand <daniel.hillenbrand@codeworkx.de> | 2012-07-24 16:43:50 +0200 |
commit | 63bef5c56c9790a4cf7b010d0af7409bea45e8d3 (patch) | |
tree | 7016b206a67cadf683db99580e57b3e2e428bf7e /audio/audio_hw.h | |
parent | 96ccf48167aaa97a81331d7e0802ac52fcff09c3 (diff) | |
download | device_samsung_i9300-63bef5c56c9790a4cf7b010d0af7409bea45e8d3.zip device_samsung_i9300-63bef5c56c9790a4cf7b010d0af7409bea45e8d3.tar.gz device_samsung_i9300-63bef5c56c9790a4cf7b010d0af7409bea45e8d3.tar.bz2 |
audio: fix non working main-mic when unplugging headset during voicecall
Change-Id: Ic1623756f73da275b48bffb59163961e92f45e39
Diffstat (limited to 'audio/audio_hw.h')
-rw-r--r-- | audio/audio_hw.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/audio/audio_hw.h b/audio/audio_hw.h index 3cd62db..a2b33ca 100644 --- a/audio/audio_hw.h +++ b/audio/audio_hw.h @@ -137,6 +137,22 @@ struct route_setting voicecall_default_disable[] = { { .ctl_name = NULL, }, }; +struct route_setting default_input[] = { + { .ctl_name = "Main Mic Switch", .intval = 1, }, + { .ctl_name = "MIXINL IN1L Switch", .intval = 1, }, + { .ctl_name = "AIF1ADC1 HPF Mode", .intval = 0, }, + { .ctl_name = "AIF1ADC1 HPF Switch", .intval = 1, }, + { .ctl_name = NULL, }, +}; + +struct route_setting default_input_disable[] = { + { .ctl_name = "Main Mic Switch", .intval = 0, }, + { .ctl_name = "MIXINL IN1L Switch", .intval = 0, }, + { .ctl_name = "AIF1ADC1 HPF Mode", .intval = 0, }, + { .ctl_name = "AIF1ADC1 HPF Switch", .intval = 0, }, + { .ctl_name = NULL, }, +}; + struct route_setting headset_input[] = { { .ctl_name = "MIXINL IN1L Switch", .intval = 0, }, { .ctl_name = "MIXINR IN1R Switch", .intval = 0, }, @@ -153,6 +169,14 @@ struct route_setting headset_input[] = { { .ctl_name = NULL, }, }; +struct route_setting headset_input_disable[] = { + { .ctl_name = "Headset Mic Switch", .intval = 0, }, + { .ctl_name = "MIXINL IN2L Switch", .intval = 0, }, + { .ctl_name = "AIF1ADC1 HPF Mode", .intval = 0, }, + { .ctl_name = "AIF1ADC1 HPF Switch", .intval = 0, }, + { .ctl_name = NULL, }, +}; + struct route_setting bt_output[] = { { .ctl_name = "DAC1L Mixer AIF1.1 Switch", .intval = 1, }, { .ctl_name = "DAC1R Mixer AIF1.1 Switch", .intval = 1, }, |