-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The mic related confs are commented out as it is not working. But I have kept it as reference as it should be something similar.
- Loading branch information
1 parent
aaa7889
commit 45cb4c6
Showing
3 changed files
with
124 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
SectionVerb { | ||
EnableSequence [ | ||
cset "name='QUAT_TDM_RX_0 Audio Mixer MultiMedia1' 1" # Speaker Playback | ||
# cset "name='MultiMedia2 Mixer SLIMBUS_0_TX' 1" # Bottom Mic Capture | ||
|
||
# Q6Voice Routes for Call Audio Setup | ||
# cset "name='QUAT_TDM_RX_0 Voice Mixer VoiceMMode1' 1" | ||
# cset "name='VoiceMMode1 Capture Mixer SLIMBUS_0_TX' 1" | ||
|
||
# Left/Top Speaker Related | ||
cset "name='Left LDM Select Switch' 1" | ||
cset "name='Left PDM LDM Enter Ramp Switch' 1" | ||
cset "name='Left PDM LDM Exit Ramp Switch' 1" | ||
cset "name='Left Amp Gain Zero-Cross Switch' 1" | ||
cset "name='Left Channel Mux' RX1" | ||
cset "name='Left ASPTX1SRC' Zero Fill" | ||
cset "name='Left ASPTX2SRC' Zero Fill" | ||
cset "name='Left ASPTX3SRC' Zero Fill" | ||
cset "name='Left ASPTX4SRC' VMON" | ||
cset "name='Left ASPTX5SRC' IMON" | ||
cset "name='Left ASPTX6SRC' VPMON" | ||
|
||
# Right/Bottom Speaker Related | ||
cset "name='Right LDM Select Switch' 1" | ||
cset "name='Right PDM LDM Enter Ramp Switch' 1" | ||
cset "name='Right PDM LDM Exit Ramp Switch' 1" | ||
cset "name='Right Amp Gain Zero-Cross Switch' 1" | ||
cset "name='Right Channel Mux' RX2" | ||
cset "name='Right ASPTX1SRC' VMON" | ||
cset "name='Right ASPTX2SRC' IMON" | ||
cset "name='Right ASPTX3SRC' VPMON" | ||
cset "name='Right ASPTX4SRC' 'Zero Fill'" | ||
cset "name='Right ASPTX5SRC' 'Zero Fill'" | ||
cset "name='Right ASPTX6SRC' 'Zero Fill'" | ||
|
||
# Phone Bottom Mic Default Enable | ||
# cset "name='AIF1_CAP Mixer SLIM TX7' 1" | ||
# cset "name='CDC_IF TX7 MUX' DEC7" | ||
] | ||
|
||
DisableSequence [ | ||
cset "name='QUAT_TDM_RX_0 Audio Mixer MultiMedia1' 0" # Speaker Playback | ||
# cset "name='MultiMedia2 Mixer SLIMBUS_0_TX' 0" # Bottom Mic Capture | ||
|
||
# Phone Bottom Mic Default Disable | ||
# cset "name='CDC_IF TX7 MUX' ZERO" | ||
] | ||
|
||
Value { | ||
TQ "HiFi" | ||
} | ||
} | ||
|
||
SectionDevice."Speaker1" { | ||
Comment "Speakers Stereo Output" | ||
|
||
EnableSequence [ | ||
cset "name='Left AMP Enable Switch' 1" | ||
cset "name='Left Analog PCM Volume' 17" | ||
cset "name='Right AMP Enable Switch' 1" | ||
cset "name='Right Analog PCM Volume' 17" | ||
] | ||
|
||
DisableSequence [ | ||
cset "name='Left AMP Enable Switch' 0" | ||
cset "name='Left Analog PCM Volume' 0" | ||
cset "name='Right AMP Enable Switch' 0" | ||
cset "name='Right Analog PCM Volume' 0" | ||
] | ||
|
||
Value { | ||
PlaybackPCM "hw:${CardId},0" | ||
PlaybackPriority 100 | ||
} | ||
} | ||
|
||
# SectionDevice."Mic1" { | ||
# Comment "Phone Bottom Mic" | ||
|
||
# EnableSequence [ | ||
# cset "name='ADC MUX7' DMIC" | ||
# cset "name='DMIC MUX7' DMIC4" | ||
# cset "name='IIR0 INP0 MUX' DEC7" | ||
# ] | ||
|
||
# DisableSequence [ | ||
# cset "name='DMIC MUX7' ZERO" | ||
# cset "name='DMIC4 MUX7' ZERO" | ||
# cset "name='IIR0 INP0 MUX' ZERO" | ||
# ] | ||
|
||
# Value { | ||
# CapturePCM "hw:${CardId},1" | ||
# CaptureMixerElem "DEC7" | ||
# CapturePriority 100 | ||
# } | ||
# } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
Syntax 4 | ||
|
||
SectionUseCase."HiFi" { | ||
File "/Google/blueline/HiFi.conf" | ||
Comment "HiFi quality Music." | ||
} | ||
|
||
Include.card-init.File "/lib/card-init.conf" | ||
Include.ctl-remap.File "/lib/ctl-remap.conf" | ||
|
||
# BootSequence [ | ||
# # Phone Bottom Mic Default Volume | ||
# cset "name='ADC3 Volume' 16" | ||
# cset "name='DEC7 Volume' 80" | ||
# ] | ||
|
||
# LibraryConfig.remap.Config { | ||
|
||
# ctl.default.map { | ||
# # Merge two mono controls into one stereo | ||
# "name='HP Digital Volume'" { | ||
# "name='RX1 Digital Volume'".vindex.0 0 | ||
# "name='RX2 Digital Volume'".vindex.1 0 | ||
# } | ||
# } | ||
# } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../Google/blueline/blueline.conf |