chromebook-ucm-conf/codecs/max98357a/speaker.conf

26 lines
444 B
Plaintext

If.custompcm {
Condition {
Type String
Empty "$${var:max98357apcm}"
}
False.Define.pcm "${var:max98357apcm}"
True.Define.pcm 0
}
SectionDevice."Speaker" {
Comment "Speaker"
Value {
PlaybackPriority 100
PlaybackPCM "hw:${CardId},${var:pcm}"
}
EnableSequence [
cset "name='Spk Switch' on"
]
DisableSequence [
cset "name='Spk Switch' off"
]
}