xair-cli/internal/xair/address.go
onyx-and-iris cf470181a1 implement dca commands:
- DCA added to Client struct
- dca command added to both CLIs

help mds updated
2026-02-10 01:16:44 +00:00

31 lines
605 B
Go

package xair
var xairAddressMap = map[string]string{
"main": "/lr",
"strip": "/ch/%02d",
"bus": "/bus/%d",
"headamp": "/headamp/%02d",
"snapshot": "/-snap",
"dca": "/dca/%d",
}
var x32AddressMap = map[string]string{
"main": "/main/st",
"mainmono": "/main/m",
"matrix": "/mtx/%02d",
"strip": "/ch/%02d",
"bus": "/bus/%02d",
"headamp": "/headamp/%03d",
"snapshot": "/-snap",
"dca": "/dca/%d",
}
func addressMapFromMixerKind(kind mixerKind) map[string]string {
switch kind {
case kindX32:
return x32AddressMap
default:
return xairAddressMap
}
}