aboutsummaryrefslogtreecommitdiffstats
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, 20 insertions, 14 deletions
diff --git a/audio/audio_hw.h b/audio/audio_hw.h
index 3ef0e65..65a6443 100644
--- a/audio/audio_hw.h
+++ b/audio/audio_hw.h
@@ -137,14 +137,20 @@ 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, },
@@ -152,19 +158,17 @@ struct route_setting default_input_disable[] = {
struct route_setting headset_input[] = {
{ .ctl_name = "Headset Mic Switch", .intval = 1, },
- { .ctl_name = "IN1R Volume", .intval = 9, },
- { .ctl_name = "MIXINL IN1L Switch", .intval = 0, },
- { .ctl_name = "MIXINL IN1L Volume", .intval = 1, },
{ .ctl_name = "MIXINR IN1R Switch", .intval = 1, },
- { .ctl_name = "MIXINR IN1R Volume", .intval = 1, },
- { .ctl_name = "MIXINR IN1RP Volume", .intval = 1, },
- { .ctl_name = "DAC2 Right Sidetone Volume", .intval = 12, },
- { .ctl_name = "DAC2 Volume", .intval = 96, },
- { .ctl_name = "AIF2ADC Volume", .intval = 96, },
- { .ctl_name = "AIF1ADCL Source", .intval = 1, },
- { .ctl_name = "AIF1ADCR Source", .intval = 1, },
- { .ctl_name = "AIF2ADCL Source", .intval = 1, },
- { .ctl_name = "AIF2ADCR Source", .intval = 1, },
+ { .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, },
};
@@ -185,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, },