Skip to content

Commit

Permalink
Audio edits
Browse files Browse the repository at this point in the history
  • Loading branch information
imilka committed Nov 1, 2012
1 parent 425601c commit 50c51cc
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions audio/audio_hw.h
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ struct route_setting voicecall_default_disable[] = {
{ .ctl_name = "DAC1L Mixer AIF2 Switch", .intval = 0, },
{ .ctl_name = "DAC1R Mixer AIF2 Switch", .intval = 0, },
{ .ctl_name = "AIF2DAC Mux", .strval = "AIF3DACDAT", },
{ .ctl_name = "MainMicBias Mode", .intval = 3, },
{ .ctl_name = "SubMicBias Mode", .intval = 3, },
{ .ctl_name = "MainMicBias Mode", .intval = 2, },
{ .ctl_name = "SubMicBias Mode", .intval = 2, },
{ .ctl_name = "Main Mic Switch", .intval = 0, },
{ .ctl_name = "MIXINL IN1L Switch", .intval = 0, },
{ .ctl_name = "Sub Mic Switch", .intval = 0, },
Expand All @@ -157,15 +157,13 @@ struct route_setting default_input[] = {
struct route_setting default_input_disable[] = {
{ .ctl_name = "Main Mic Switch", .intval = 0, },
{ .ctl_name = "MainMicBias Mode", .intval = 0, },
{ .ctl_name = "IN1L Volume", .intval = 22, },
{ .ctl_name = "IN2L Volume", .intval = 22, },
{ .ctl_name = "MIXINL IN2L Switch", .intval = 0, },
{ .ctl_name = "AIF1ADC1 HPF Switch", .intval = 0, },
{ .ctl_name = NULL, },
};

struct route_setting headset_input[] = {
{ .ctl_name = "MIXINL IN1L Switch", .intval = 0, },
{ .ctl_name = "MIXINR IN1R Switch", .intval = 0, },
{ .ctl_name = "Headset Mic Switch", .intval = 1, },
{ .ctl_name = "IN2L Volume", .intval = 18, },
{ .ctl_name = "MIXINL IN2L Switch", .intval = 1, },
Expand All @@ -175,13 +173,12 @@ struct route_setting headset_input[] = {
{ .ctl_name = "AIF1ADC1 Volume", .intval = 96, },
{ .ctl_name = "AIF1ADCL Source", .intval = 0, },
{ .ctl_name = "AIF1ADCR Source", .intval = 0, },
{ .ctl_name = "AIF2ADCL Source", .intval = 0, },
{ .ctl_name = NULL, },
};

struct route_setting headset_input_disable[] = {
{ .ctl_name = "Headset Mic Switch", .intval = 0, },
{ .ctl_name = "MIXINL IN2L 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, },
Expand Down

0 comments on commit 50c51cc

Please sign in to comment.