47 lines
939 B
Plaintext
47 lines
939 B
Plaintext
SectionVerb {
|
|
EnableSequence [
|
|
cset "name='Headphone Volume' 0"
|
|
cset "name='I2S3_CH1 DL1_CH1' 1"
|
|
cset "name='I2S3_CH2 DL1_CH2' 1"
|
|
cset "name='MTKAIF_DMIC' 1"
|
|
cset "name='Mic Type Mux' 2"
|
|
cset "name='UL3_CH1 ADDA_UL_CH1' 1"
|
|
cset "name='UL3_CH2 ADDA_UL_CH2' 1"
|
|
]
|
|
}
|
|
|
|
SectionDevice."Speaker" {
|
|
Comment "Speaker"
|
|
|
|
Value {
|
|
PlaybackPCM "hw:${CardId},0"
|
|
}
|
|
EnableSequence [
|
|
cset "name='I2S3_CH1 DL1_CH1' 1"
|
|
cset "name='I2S3_CH2 DL1_CH2' 1"
|
|
]
|
|
DisableSequence [
|
|
cset "name='I2S3_CH1 DL1_CH1' 0"
|
|
cset "name='I2S3_CH2 DL1_CH2' 0"
|
|
]
|
|
}
|
|
|
|
SectionDevice."Mic" {
|
|
Comment "Internal Microphone"
|
|
|
|
Value {
|
|
CapturePCM "hw:${CardId},5"
|
|
}
|
|
EnableSequence [
|
|
cset "name='MTKAIF_DMIC' 1"
|
|
cset "name='Mic Type Mux' 2"
|
|
cset "name='UL3_CH1 ADDA_UL_CH1' 1"
|
|
cset "name='UL3_CH2 ADDA_UL_CH2' 1"
|
|
]
|
|
DisableSequence [
|
|
cset "name='MTKAIF_DMIC' 0"
|
|
cset "name='UL3_CH1 ADDA_UL_CH1' 0"
|
|
cset "name='UL3_CH2 ADDA_UL_CH2' 0"
|
|
]
|
|
}
|