66 lines
1.1 KiB
Plaintext
66 lines
1.1 KiB
Plaintext
Define {
|
|
PlaybackChannels 2
|
|
DirectPlaybackChannels 2
|
|
DirectCaptureChannels 2
|
|
Model "2i2"
|
|
Playback1Name "Headphones / Line 1-2"
|
|
Playback2Name "Line 3-4"
|
|
Capture1Name "Input 1 Mic/Inst/Line"
|
|
Capture2Name "Input 2 Mic/Inst/Line"
|
|
Generation "1st"
|
|
}
|
|
|
|
If.solo {
|
|
Condition {
|
|
Type RegexMatch
|
|
String "${CardComponents}"
|
|
Regex "USB1235:8(01c|2(05|11))"
|
|
}
|
|
True.Define {
|
|
Model "Solo"
|
|
Capture1Name "Input 1 Mic"
|
|
Capture2Name "Input 2 Inst/Line"
|
|
}
|
|
}
|
|
|
|
If.2i4 {
|
|
Condition {
|
|
Type RegexMatch
|
|
String "${CardComponents}"
|
|
Regex "USB1235:8(00a|200)"
|
|
}
|
|
True.Define {
|
|
PlaybackChannels 4
|
|
DirectPlaybackChannels 4
|
|
Model "2i4"
|
|
Playback1Name "Line 1-2"
|
|
}
|
|
}
|
|
|
|
If.gen2 {
|
|
Condition {
|
|
Type RegexMatch
|
|
String "${CardComponents}"
|
|
Regex "USB1235:820[025]"
|
|
}
|
|
True.Define.Generation "2nd"
|
|
}
|
|
|
|
If.gen3 {
|
|
Condition {
|
|
Type RegexMatch
|
|
String "${CardComponents}"
|
|
Regex "USB1235:821[01]"
|
|
}
|
|
True.Define.Generation "3rd"
|
|
}
|
|
|
|
Comment "Focusrite Scarlett ${var:Model} ${var:Generation} Gen"
|
|
|
|
SectionUseCase."HiFi" {
|
|
Comment "Default"
|
|
File "/USB-Audio/Focusrite/Scarlett-2i-HiFi.conf"
|
|
}
|
|
|
|
Include.dhw.File "/common/direct.conf"
|