diff options
author | codeworkx <codeworkx@cyanogenmod.com> | 2012-11-17 22:57:33 +0100 |
---|---|---|
committer | codeworkx <codeworkx@cyanogenmod.com> | 2012-11-18 18:51:29 +0100 |
commit | d437bdc0c727eb10dfb9db1c979e6f4d3034cb6e (patch) | |
tree | ee6b002e29424be8551897a5f27fa72fd05d2216 /audio/audio_hw.h | |
parent | 126dab8a417b32dc85436bac97d6ddcee3b39e67 (diff) | |
download | device_samsung_i9300-d437bdc0c727eb10dfb9db1c979e6f4d3034cb6e.zip device_samsung_i9300-d437bdc0c727eb10dfb9db1c979e6f4d3034cb6e.tar.gz device_samsung_i9300-d437bdc0c727eb10dfb9db1c979e6f4d3034cb6e.tar.bz2 |
i9300: implement noise suppression for calls
Change-Id: Iadf1c59ae5d94364bccad97ca2f49d6a68c80244
Diffstat (limited to 'audio/audio_hw.h')
-rw-r--r-- | audio/audio_hw.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/audio/audio_hw.h b/audio/audio_hw.h index b01ab33..4f0919a 100644 --- a/audio/audio_hw.h +++ b/audio/audio_hw.h @@ -161,6 +161,24 @@ struct route_setting default_input_disable[] = { { .ctl_name = NULL, }, }; +struct route_setting noise_suppression[] = { + { .ctl_name = "Sub Mic Switch", .intval = 1, }, + { .ctl_name = "IN1R Volume", .intval = 25, }, + { .ctl_name = "MIXINR IN1R Switch", .intval = 1, }, + { .ctl_name = "MIXINR IN1R Volume", .intval = 0, }, + { .ctl_name = "AIF1ADCR Source", .intval = 1, }, + { .ctl_name = "AIF2ADCR Source", .intval = 1, }, + { .ctl_name = NULL, }, +}; + +struct route_setting noise_suppression_disable[] = { + { .ctl_name = "Sub Mic Switch", .intval = 0, }, + { .ctl_name = "IN1R Volume", .intval = 7, }, + { .ctl_name = "MIXINR IN1R Switch", .intval = 0, }, + { .ctl_name = "MIXINR IN1R Volume", .intval = 0, }, + { .ctl_name = NULL, }, +}; + struct route_setting headset_input[] = { { .ctl_name = "MIXINL IN1L Switch", .intval = 0, }, { .ctl_name = "MIXINR IN1R Switch", .intval = 0, }, |