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

26 lines
444 B
Plaintext
Raw Normal View History

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