-
Notifications
You must be signed in to change notification settings - Fork 232
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
USB-Audio: Add support for Solid State Labs SSL 2+
Closes: #429 Signed-off-by: Jeremy Kescher <[email protected]> Signed-off-by: Jaroslav Kysela <[email protected]>
- Loading branch information
1 parent
6d5ffca
commit f10c04e
Showing
3 changed files
with
124 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
Include.pcm_split.File "/common/pcm/split.conf" | ||
|
||
Macro [ | ||
{ | ||
SplitPCM { | ||
Name "ssl2plus_stereo_out" | ||
Direction Playback | ||
Channels 2 | ||
HWChannels 4 | ||
HWChannelPos0 FL | ||
HWChannelPos1 FR | ||
HWChannelPos2 FL | ||
HWChannelPos3 FR | ||
} | ||
} | ||
{ | ||
SplitPCM { | ||
Name "ssl2plus_mono_in" | ||
Direction Capture | ||
Channels 1 | ||
HWChannels 2 | ||
HWChannelPos0 MONO | ||
HWChannelPos1 MONO | ||
} | ||
} | ||
] | ||
|
||
SectionDevice."Line1" { | ||
Comment "Line Outputs 1/L + 2/R" | ||
|
||
EnableSequence [ | ||
cdev "hw:${CardId}" | ||
] | ||
|
||
DisableSequence [ | ||
cdev "hw:${CardId}" | ||
] | ||
|
||
Value { | ||
PlaybackPriority 200 | ||
} | ||
Macro.pcm_split.SplitPCMDevice { | ||
Name "ssl2plus_stereo_out" | ||
Direction Playback | ||
HWChannels 4 | ||
Channels 2 | ||
Channel0 0 | ||
Channel1 1 | ||
ChannelPos0 FL | ||
ChannelPos1 FR | ||
} | ||
} | ||
|
||
SectionDevice."Line2" { | ||
Comment "Line Outputs 3 + 4" | ||
|
||
Value { | ||
PlaybackPriority 100 | ||
} | ||
Macro.pcm_split.SplitPCMDevice { | ||
Name "ssl2plus_stereo_out" | ||
Direction Playback | ||
HWChannels 4 | ||
Channels 2 | ||
Channel0 2 | ||
Channel1 3 | ||
ChannelPos0 FL | ||
ChannelPos1 FR | ||
} | ||
} | ||
|
||
SectionDevice."Mic1" { | ||
Comment "Mic/Line/Inst 1" | ||
|
||
Value { | ||
CapturePriority 200 | ||
} | ||
Macro.pcm_split.SplitPCMDevice { | ||
Name "ssl2plus_mono_in" | ||
Direction Capture | ||
HWChannels 2 | ||
Channels 1 | ||
Channel0 0 | ||
ChannelPos0 MONO | ||
} | ||
} | ||
|
||
SectionDevice."Mic2" { | ||
Comment "Mic/Line/Inst 2" | ||
|
||
Value { | ||
CapturePriority 100 | ||
} | ||
Macro.pcm_split.SplitPCMDevice { | ||
Name "ssl2plus_mono_in" | ||
Direction Capture | ||
HWChannels 2 | ||
Channels 1 | ||
Channel0 1 | ||
ChannelPos0 MONO | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Comment "Solid State Labs SSL 2+" | ||
|
||
SectionUseCase."HiFi" { | ||
Comment "HiFi" | ||
File "/USB-Audio/SolidStateLabs/SSL2Plus-HiFi.conf" | ||
} | ||
|
||
Define.DirectPlaybackChannels 4 | ||
Define.DirectCaptureChannels 2 | ||
|
||
Include.dhw.File "/common/direct.conf" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters