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.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/audio/audio_hw.h b/audio/audio_hw.h
index c395d9f..213d850 100644
--- a/audio/audio_hw.h
+++ b/audio/audio_hw.h
@@ -104,6 +104,11 @@ enum tty_modes {
TTY_MODE_FULL
};
+struct mixer_ctls
+{
+ struct mixer_ctl *mixinl_in1l_volume;
+};
+
struct route_setting
{
char *ctl_name;
@@ -139,7 +144,9 @@ 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 = 0, },
{ .ctl_name = "AIF1ADC1 HPF Switch", .intval = 1, },
{ .ctl_name = NULL, },
@@ -147,8 +154,8 @@ struct route_setting default_input[] = {
struct route_setting default_input_disable[] = {
{ .ctl_name = "Main Mic Switch", .intval = 0, },
+ { .ctl_name = "IN1L Volume", .intval = 22, },
{ .ctl_name = "MIXINL IN1L Switch", .intval = 0, },
- { .ctl_name = "AIF1ADC1 HPF Mode", .intval = 0, },
{ .ctl_name = "AIF1ADC1 HPF Switch", .intval = 0, },
{ .ctl_name = NULL, },
};
@@ -187,7 +194,6 @@ struct route_setting bt_output[] = {
{ .ctl_name = "DAC2 Volume", .intval = 96, },
{ .ctl_name = "AIF2ADC Volume", .intval = 96, },
{ .ctl_name = "Speaker Mixer Volume", .intval = 1, },
- { .ctl_name = "Speaker Volume", .intval = 0, },
{ .ctl_name = "MIXINL IN2L Volume", .intval = 1, },
{ .ctl_name = "IN1L Volume", .intval = 25, },
{ .ctl_name = "IN1R Volume", .intval = 25, },