Files
geminux/overlay/rootfs/usr/share/alsa/ucm2/MediaTek/mt6797-gemini/HiFi.conf
T

77 lines
1.4 KiB
Plaintext
Raw Normal View History

Syntax 4
SectionVerb {
EnableSequence [
cset "name='Audio_Amp_R_Switch' On"
cset "name='Audio_Amp_L_Switch' On"
cset "name='Speaker_Amp_Switch' On"
cset "name='Audio_ADC_1_Switch' On"
cset "name='Audio_ADC_2_Switch' On"
]
DisableSequence [
cset "name='Speaker_Amp_Switch' Off"
]
}
SectionDevice."Speaker" {
Comment "Gemini PDA AW8738 Stereo Speakers"
EnableSequence [
cset "name='Speaker_Amp_Switch' On"
]
DisableSequence [
cset "name='Speaker_Amp_Switch' Off"
]
Value {
PlaybackPriority 100
PlaybackPCM "hw:${CardId},0"
}
}
SectionDevice."Headphones" {
Comment "3.5mm Stereo Headphones"
EnableSequence [
cset "name='Speaker_Amp_Switch' Off"
cset "name='Headset_PGAL_GAIN' 8"
cset "name='Headset_PGAR_GAIN' 8"
]
Value {
PlaybackPriority 200
PlaybackPCM "hw:${CardId},0"
JackControl "Headphone Jack"
}
}
SectionDevice."Mic" {
Comment "Internal Microphone"
EnableSequence [
cset "name='Audio_MicSource1_Setting' ADC1"
cset "name='Audio_ADC_1_Switch' On"
]
Value {
CapturePriority 100
CapturePCM "hw:${CardId},0"
}
}
SectionDevice."Headset" {
Comment "3.5mm Headset Microphone"
EnableSequence [
cset "name='Audio_MicSource1_Setting' ADC2"
cset "name='Audio_ADC_2_Switch' On"
]
Value {
CapturePriority 200
CapturePCM "hw:${CardId},0"
JackControl "Mic Jack"
}
}