diff options
-rw-r--r-- | audio/audio_hw.h | 23 | ||||
-rw-r--r-- | configs/tiny_hw.xml | 6 |
2 files changed, 19 insertions, 10 deletions
diff --git a/audio/audio_hw.h b/audio/audio_hw.h index e8014fc..23bd893 100644 --- a/audio/audio_hw.h +++ b/audio/audio_hw.h @@ -151,15 +151,20 @@ struct route_setting default_input_disable[] = { }; 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 = 60, }, - { .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 = "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 = NULL, }, }; diff --git a/configs/tiny_hw.xml b/configs/tiny_hw.xml index f6fcc55..2d3e32e 100644 --- a/configs/tiny_hw.xml +++ b/configs/tiny_hw.xml @@ -197,9 +197,13 @@ We are able to have most of our routing static so do that <ctl name="Headset Mic Switch" val="1"/> <ctl name="AIF1ADCL Source" val="Right"/> <ctl name="AIF1ADCR Source" val="Right"/> - <ctl name="AIF2ADCL Source" val="Right"/> + <ctl name="AIF2ADCL Source" val="Left"/> <ctl name="AIF2ADCR Source" val="Right"/> <ctl name="MIXINR IN1R Switch" val="1"/> + <ctl name="AIF2DAC2L Mixer Left Sidetone Switch" val="0"/> + <ctl name="AIF2DAC2L Mixer Right Sidetone Switch" val="1"/> + <ctl name="AIF2DAC2R Mixer Left Sidetone Switch" val="0"/> + <ctl name="AIF2DAC2R Mixer Right Sidetone Switch" val="1"/> </path> <path name="off"> <ctl name="Headset Mic Switch" val="0"/> |