-# The 18i20 provides 20 playback and 18 or 20 capture channels each:
+# Channel mapping
#
# +----+---------------+-----------------+
# | Ch | Inputs | Outputs |
String "${CardComponents}"
Regex "USB1235:821d"
}
- True.Define {
- Generation "4th"
- DirectCaptureChannels 20
+ True {
+ Define {
+ Generation "4th"
+ DirectPlaybackChannels 26
+ DirectCaptureChannels 26
+ bcdDevice "${sys-card:device/../bcdDevice}"
+ }
+ If.fwp {
+ # bcdNumbers 0900-097a
+ Condition {
+ Type RegexMatch
+ String "${var:bcdDevice}"
+ Regex "(09[0-6].|097[0-9a])"
+ }
+ True.Define.DirectPlaybackChannels 24
+ }
+ If.fwc {
+ # bcdNumbers 0000-08ff, 0900-097a
+ Condition {
+ Type RegexMatch
+ String "${var:bcdDevice}"
+ Regex "(0[0-8]..|09[0-6].|097[0-9a])"
+ }
+ True.Define.DirectCaptureChannels 20
+ }
}
}