summaryrefslogtreecommitdiffstats
path: root/audio/audio_hw.h
diff options
context:
space:
mode:
Diffstat (limited to 'audio/audio_hw.h')
-rw-r--r--audio/audio_hw.h34
1 files changed, 21 insertions, 13 deletions
diff --git a/audio/audio_hw.h b/audio/audio_hw.h
index ee52ca9..65a6443 100644
--- a/audio/audio_hw.h
+++ b/audio/audio_hw.h
@@ -137,32 +137,38 @@ struct route_setting voicecall_default_disable[] = {
struct route_setting default_input[] = {
{ .ctl_name = "Main Mic Switch", .intval = 1, },
{ .ctl_name = "IN1L Volume", .intval = 30, },
+ { .ctl_name = "MIXINL IN1L Switch", .intval = 1, },
{ .ctl_name = "MIXINL IN1L Volume", .intval = 0, },
{ .ctl_name = "AIF1ADC1 HPF Mode", .intval = 1, },
{ .ctl_name = "AIF1ADC1 HPF Switch", .intval = 1, },
+ { .ctl_name = "AIF2DAC2L Mixer Left Sidetone Switch", .intval = 1, },
+ { .ctl_name = "AIF2DAC2L Mixer Right Sidetone Switch", .intval = 0, },
+ { .ctl_name = "AIF2DAC2R Mixer Left Sidetone Switch", .intval = 1, },
+ { .ctl_name = "AIF2DAC2R Mixer Right Sidetone Switch", .intval = 0, },
{ .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 = "AIF2DAC2L Mixer AIF2 Switch", .intval = 0, },
- { .ctl_name = "AIF2DAC2R Mixer AIF2 Switch", .intval = 0, },
- { .ctl_name = "Headphone ZC Switch", .intval = 0, },
- { .ctl_name = "AIF1DAC1 Volume", .intval = 110, },
- { .ctl_name = "AIF2DAC Volume", .intval = 96, },
- { .ctl_name = "AIF1 Boost Volume", .intval = 0, },
- { .ctl_name = "AIF2 Boost Volume", .intval = 0, },
- { .ctl_name = "DAC1 Volume", .intval = 96, },
- { .ctl_name = "Headphone Volume", .intval = 54, },
+ { .ctl_name = "Headset Mic Switch", .intval = 1, },
{ .ctl_name = "MIXINR IN1R Switch", .intval = 1, },
- { .ctl_name = "MIXINR IN2R Switch", .intval = 1, },
- { .ctl_name = "IN1R Volume", .intval = 25, },
+ { .ctl_name = "AIF2DAC2L Mixer Left Sidetone Switch", .intval = 0, },
+ { .ctl_name = "AIF2DAC2L Mixer Right Sidetone Switch", .intval = 1, },
+ { .ctl_name = "AIF2DAC2R Mixer Left Sidetone Switch", .intval = 0, },
+ { .ctl_name = "AIF2DAC2R Mixer Right Sidetone Switch", .intval = 1, },
+ { .ctl_name = NULL, },
+};
+
+struct route_setting headset_input_disable[] = {
+ { .ctl_name = "Headset Mic Switch", .intval = 0, },
+ { .ctl_name = "MIXINR IN1R Switch", .intval = 0, },
{ .ctl_name = NULL, },
};
@@ -183,8 +189,10 @@ struct route_setting bt_input[] = {
{ .ctl_name = "DAC1R Mixer AIF2 Switch", .intval = 1, },
{ .ctl_name = "AIF1ADC1R Mixer AIF2 Switch", .intval = 0, },
{ .ctl_name = "AIF1ADC1L Mixer AIF2 Switch", .intval = 0, },
- { .ctl_name = "AIF2DAC2R Mixer Right Sidetone Switch", .intval = 0, },
- { .ctl_name = "AIF2DAC2R Mixer Left Sidetone Switch", .intval = 1, },
+ { .ctl_name = "AIF2DAC2L Mixer Left Sidetone Switch", .intval = 1, },
+ { .ctl_name = "AIF2DAC2L Mixer Right Sidetone Switch", .intval = 0, },
+ { .ctl_name = "AIF2DAC2R Mixer Left Sidetone Switch", .intval = 0, },
+ { .ctl_name = "AIF2DAC2R Mixer Right Sidetone Switch", .intval = 1, },
{ .ctl_name = "AIF1ADC1R Mixer AIF2 Switch", .intval = 0, },
{ .ctl_name = "AIF1ADC1L Mixer AIF2 Switch", .intval = 0, },
{ .ctl_name = "MIXINL IN1L Switch", .intval = 0, },