chromebook-ucm-conf/avs/avs_dmic/HiFi.conf

26 lines
624 B
Plaintext
Raw Normal View History

# Stock firmware exposes a 4ch dmic while MrChromebox firmware exposes a 2ch dmic for windows support
# Stock firmware version string includes "Google_<board>" while MrChromebox firmware string is "MrChromebox-<version>"
2023-05-20 22:06:04 +00:00
If.4ch {
Condition {
Type String
Haystack "${sys:devices/virtual/dmi/id/bios_version}"
Needle "Google"
}
True.Define.DmicChannels 4
False.Define.DmicChannels 2
}
2023-05-20 22:06:04 +00:00
SectionDevice."Internal Mic" {
Comment "Internal Microphone"
2023-05-20 22:06:04 +00:00
Value {
CapturePriority 100
CapturePCM "hw:${CardId},2"
CaptureChannels "${var:DmicChannels}"
2023-05-20 22:06:04 +00:00
}
EnableSequence [
cset "name='DMIC Volume' 2147483647"
]
2023-05-20 22:06:04 +00:00
}