-
Notifications
You must be signed in to change notification settings - Fork 214
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ucm2: USB-Audio: add Steinberg UR22C (USB0499:172f)
Similar to UR24C and UR44C, but with 2 inputs 2 outputs. Closes: #446 Signed-off-by: Celeste Liu <[email protected]> Signed-off-by: Jaroslav Kysela <[email protected]>
- Loading branch information
1 parent
ab6b9d0
commit 46f9c1a
Showing
3 changed files
with
75 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,55 @@ | ||
Include.pcm_split.File "/common/pcm/split.conf" | ||
|
||
Macro [ | ||
{ | ||
SplitPCM { | ||
Name "steinberg_ur22c_mono_in" | ||
Direction Capture | ||
Channels 1 | ||
HWChannels 2 | ||
HWChannelPos0 MONO | ||
HWChannelPos1 MONO | ||
} | ||
} | ||
] | ||
|
||
SectionDevice."Line 1" { | ||
Comment "Stereo Line (output)" | ||
|
||
Value { | ||
PlaybackPriority 200 | ||
PlaybackPCM "hw:${CardId}" | ||
} | ||
} | ||
|
||
SectionDevice."Line 2" { | ||
Comment "Mono Line (input 1)" | ||
|
||
Value { | ||
CapturePriority 600 | ||
} | ||
Macro.pcm_split.SplitPCMDevice { | ||
Name "steinberg_ur22c_mono_in" | ||
Direction Capture | ||
HWChannels 2 | ||
Channels 1 | ||
Channel0 0 | ||
ChannelPos0 MONO | ||
} | ||
} | ||
|
||
SectionDevice."Line 3" { | ||
Comment "Mono Line (input 2)" | ||
|
||
Value { | ||
CapturePriority 500 | ||
} | ||
Macro.pcm_split.SplitPCMDevice { | ||
Name "steinberg_ur22c_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 "Steinberg UR22C USB-Audio" | ||
|
||
SectionUseCase."HiFi" { | ||
Comment "HiFi" | ||
File "/USB-Audio/Steinberg/UR22C-HiFi.conf" | ||
} | ||
|
||
Define.DirectPlaybackChannels 2 | ||
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