pmaports/device/testing/device-pine64-pinebookpro/ucm/HiFi

60 lines
1.3 KiB
Text
Raw Normal View History

SectionVerb {
EnableSequence [
cset "name='Headphone Playback Volume' 0"
cset "name='Headphone Mixer Volume' 100%"
cset "name='DAC Playback Volume' 100%"
cset "name='DAC Source Mux' LDATA TO LDAT, RDATA TO RDAC"
cset "name='Left Headphone Mixer Left DAC Switch' on"
cset "name='Left Headphone Mixer LLIN Switch' off"
cset "name='Right Headphone Mixer Right DAC Switch' on"
cset "name='Right Headphone Mixer RLIN Switch' off"
]
DisableSequence [
]
Value {
PlaybackPCM "hw:${CardId},0"
CapturePCM "hw:${CardId},0"
}
}
SectionDevice."Speaker" {
Comment "Internal speaker"
EnableSequence [
cset "name='Headphone Playback Volume' 0"
cset "name='Headphone Mixer Volume' 100%"
cset "name='Speaker Switch' on"
]
DisableSequence [
cset "name='Speaker Switch' off"
]
Value {
PlaybackPriority 200
PlaybackChannels "2"
PlaybackPCM "hw:${CardId},0"
PlaybackVolume "DAC Playback Volume"
}
ConflictingDevice [
"Headphone"
]
}
SectionDevice."Headphone" {
Comment "Headphones"
EnableSequence [
cset "name='Headphone Playback Volume' 50%"
cset "name='Headphone Mixer Volume' 100%"
cset "name='Speaker Switch' off"
]
DisableSequence [
]
Value {
PlaybackPriority 100
PlaybackChannels "2"
PlaybackPCM "hw:${CardId},0"
PlaybackVolume "DAC Playback Volume"
JackControl "Headphones Jack"
}
ConflictingDevice [
"Speaker"
]
}