Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Roland QUAD-CAPTURE USB 2.0 support #494

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
104 changes: 104 additions & 0 deletions ucm2/USB-Audio/Roland/Quad-Capture-HiFi.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
Include.pcm_split.File "/common/pcm/split.conf"

Macro [
{
SplitPCM {
Name "qc_stereo_out"
Direction Playback
Channels 2
HWChannels 4
HWChannelPos0 FL
HWChannelPos1 FR
HWChannelPos2 FL
HWChannelPos3 FR
}
}
{
SplitPCM {
Name "qc_input"
Direction Capture
Channels 2
HWChannels 6
HWChannelPos0 MONO
HWChannelPos1 MONO
HWChannelPos2 FL
HWChannelPos3 FR
HWChannelPos4 FL
HWChannelPos5 FR
}
}
]

SectionDevice."Line1" {
Comment "3-4 (Coaxial)"

Value {
PlaybackPriority 200
}

Macro.pcm_split.SplitPCMDevice {
Name "qc_stereo_out"
Direction Playback
HWChannels 4
Channels 2
Channel0 2
Channel1 3
ChannelPos0 FL
ChannelPos1 FR
}
}

SectionDevice."Line2" {
Comment "1-2 (Main)"

Value {
PlaybackPriority 100
}

Macro.pcm_split.SplitPCMDevice {
Name "qc_stereo_out"
Direction Playback
HWChannels 4
Channels 2
Channel0 0
Channel1 1
ChannelPos0 FL
ChannelPos1 FR
}
}

SectionDevice."Line3" {
Comment "3-4 (Coaxial)"

Value {
CapturePriority 300
}
Macro.pcm_split.SplitPCMDevice {
Name "qc_input"
Direction Capture
HWChannels 6
Channels 2
Channel0 2
Channel1 3
ChannelPos0 FL
ChannelPos1 FR
}
}

SectionDevice."Line4" {
Comment "1-2 (1L+2R)"

Value {
CapturePriority 200
}
Macro.pcm_split.SplitPCMDevice {
Name "qc_input"
Direction Capture
HWChannels 6
Channels 2
Channel0 0
Channel1 1
ChannelPos0 MONO
ChannelPos1 MONO
}
}
6 changes: 6 additions & 0 deletions ucm2/USB-Audio/Roland/Quad-Capture.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Comment "Roland Quad-Capture"

SectionUseCase."HiFi" {
Comment "Roland Quand-Capture"
File "/USB-Audio/Roland/Quad-Capture-HiFi.conf"
}
9 changes: 9 additions & 0 deletions ucm2/USB-Audio/USB-Audio.conf
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,15 @@ If.roland-bridgecastx {
True.Define.ProfileName "Roland/BridgeCastXV2"
}

If.roland-quadcapture {
Condition {
Type String
Haystack "${CardComponents}"
Needle "USB0582:012f"
}
True.Define.ProfileName "Roland/Quad-Capture"
}

If.motu-m246 {
Condition {
Type RegexMatch
Expand Down