diff options
author | Daniel Hillenbrand <codeworkx@cyanogenmod.org> | 2013-04-15 17:08:25 +0200 |
---|---|---|
committer | Daniel Hillenbrand <codeworkx@cyanogenmod.org> | 2013-04-15 17:08:25 +0200 |
commit | a5f9f3650d8156d3e96a88a280d07b266a04384d (patch) | |
tree | cbc57f7f93da359cde1f57b5935fac324ee340c8 /audio/audio_hw.h | |
parent | c7b7cf5b51fcb01084e67b8e0c2e5624a56bdbd2 (diff) | |
download | device_samsung_p3100-a5f9f3650d8156d3e96a88a280d07b266a04384d.zip device_samsung_p3100-a5f9f3650d8156d3e96a88a280d07b266a04384d.tar.gz device_samsung_p3100-a5f9f3650d8156d3e96a88a280d07b266a04384d.tar.bz2 |
p3100: add incall noise suppression support
Change-Id: I8cba9a1b5b98d2bb3accbd8f32ff5cdc4b5e568d
Diffstat (limited to 'audio/audio_hw.h')
-rw-r--r-- | audio/audio_hw.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/audio/audio_hw.h b/audio/audio_hw.h index 65a6443..70afc63 100644 --- a/audio/audio_hw.h +++ b/audio/audio_hw.h @@ -156,6 +156,22 @@ struct route_setting default_input_disable[] = { { .ctl_name = NULL, }, }; +struct route_setting noise_suppression[] = { + { .ctl_name = "Sub Mic Switch", .intval = 1, }, + { .ctl_name = "AIF1ADCR Source", .intval = 1, }, + { .ctl_name = "MIXINR IN2R Switch", .intval = 1, }, + { .ctl_name = "IN2R Volume", .intval = 25, }, + { .ctl_name = NULL, }, +}; + +struct route_setting noise_suppression_disable[] = { + { .ctl_name = "Sub Mic Switch", .intval = 0, }, + { .ctl_name = "AIF1ADCR Source", .intval = 0, }, + { .ctl_name = "MIXINR IN2R Switch", .intval = 0, }, + { .ctl_name = "IN2R Volume", .intval = 11, }, + { .ctl_name = NULL, }, +}; + struct route_setting headset_input[] = { { .ctl_name = "Headset Mic Switch", .intval = 1, }, { .ctl_name = "MIXINR IN1R Switch", .intval = 1, }, |