Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add and Update values as per Stock Samsung values. #3

Open
wants to merge 2 commits into
base: android-4.4
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion audio/audio_hw.h
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ struct route_setting
};

struct route_setting voicecall_default[] = {
{ .ctl_name = "AIF1ADC1 HPF Mode", .intval = 1 },
{ .ctl_name = "AIF1ADC1 HPF Switch", .intval = 1 },
{ .ctl_name = "AIF2 Mode", .intval = 0, },
{ .ctl_name = "DAC1L Mixer AIF1.1 Switch", .intval = 1, },
{ .ctl_name = "DAC1R Mixer AIF1.1 Switch", .intval = 1, },
Expand All @@ -128,6 +130,8 @@ struct route_setting voicecall_default[] = {
};

struct route_setting voicecall_default_disable[] = {
{ .ctl_name = "AIF1ADC1 HPF Mode", .intval = 0 },
{ .ctl_name = "AIF1ADC1 HPF Switch", .intval = 0 },
{ .ctl_name = "AIF2 Mode", .intval = 0, },
{ .ctl_name = "DAC1L Mixer AIF2 Switch", .intval = 0, },
{ .ctl_name = "DAC1R Mixer AIF2 Switch", .intval = 0, },
Expand Down Expand Up @@ -178,7 +182,7 @@ 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 = "IN2L Volume", .intval = 28, },
{ .ctl_name = "MIXINL IN2L Switch", .intval = 1, },
{ .ctl_name = "MIXINL IN2L Volume", .intval = 0, },
{ .ctl_name = "AIF1ADC1 HPF Mode", .intval = 1, },
Expand Down