Skip to content

Commit

Permalink
Add Roland Bridge Cast V2
Browse files Browse the repository at this point in the history
  • Loading branch information
Fumler committed Sep 28, 2024
1 parent 9e24590 commit c3c2a30
Show file tree
Hide file tree
Showing 3 changed files with 193 additions and 0 deletions.
178 changes: 178 additions & 0 deletions ucm2/USB-Audio/Roland/BridgeCastV2-Hifi.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,178 @@
Include.pcm_split.File "/common/pcm/split.conf"

Macro [
{
SplitPCM {
Name "bc_stereo_out"
Direction Playback
Channels 2
HWChannels 14
HWChannelPos0 FL
HWChannelPos1 FR
HWChannelPos2 FL
HWChannelPos3 FR
HWChannelPos4 FC
HWChannelPos5 LFE
HWChannelPos6 SL
HWChannelPos7 SR
HWChannelPos8 FL
HWChannelPos9 FR
HWChannelPos10 FL
HWChannelPos11 FR
HWChannelPos12 FL
HWChannelPos13 FR
}
}
{
SplitPCM {
Name "bc_stereo_in"
Direction Capture
Channels 2
HWChannels 6
HWChannelPos0 FL
HWChannelPos1 FR
HWChannelPos2 FL
HWChannelPos3 FR
HWChannelPos4 FL
HWChannelPos5 FR
}
}
]

SectionDevice."Line1" {
Comment "Chat L/R"

Value {
PlaybackPriority 100
}

Macro.pcm_split.SplitPCMDevice {
Name "bc_stereo_out"
Direction Playback
HwChannels 14
Channels 2
Channel0 0
Channel1 1
ChannelPos0 FL
ChannelPos1 FR
}
}

SectionDevice."Line2" {
Comment "Game L/R"

Value {
PlaybackPriority 200
}

Macro.pcm_split.SplitPCMDevice {
Name "bc_stereo_out"
Direction Playback
HwChannels 14
Channels 6
Channel0 2
Channel1 3
Channel2 4
Channel3 5
Channel4 6
Channel5 7
ChannelPos0 FL
ChannelPos1 FR
ChannelPos2 FC
ChannelPos3 LFE
ChannelPos4 SL
ChannelPos5 SR
}
}

SectionDevice."Line3" {
Comment "Music L/R"

Value {
PlaybackPriority 300
}

Macro.pcm_split.SplitPCMDevice {
Name "bc_stereo_out"
Direction Playback
HwChannels 14
Channels 2
Channel0 12
Channel1 13
ChannelPos0 FL
ChannelPos1 FR
}
}

SectionDevice."Line4" {
Comment "System L/R"

Value {
PlaybackPriority 400
}

Macro.pcm_split.SplitPCMDevice {
Name "bc_stereo_out"
Direction Playback
HwChannels 14
Channels 2
Channel0 10
Channel1 11
ChannelPos0 FL
ChannelPos1 FR
}
}

SectionDevice."Line5" {
Comment "StreamMix"

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

SectionDevice."Line6" {
Comment "Mic"

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

SectionDevice."Line7" {
Comment "SFX"

Value {
CapturePriority 100
}
Macro.pcm_split.SplitPCMDevice {
Name "bc_stereo_in"
Direction Capture
HWChannels 6
Channels 2
Channel0 4
Channel1 5
ChannelPos0 FL
ChannelPos1 FR
}
}
6 changes: 6 additions & 0 deletions ucm2/USB-Audio/Roland/BridgeCastV2.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Comment "Roland BridgeCast V2 Hifi-Mode"

SectionUseCase."HiFi" {
Comment "BridgeCast V2 MultiChannel"
File "/USB-Audio/Roland/BridgeCastV2-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 @@ -161,6 +161,15 @@ If.roland-bridgecast {
True.Define.ProfileName "Roland/BridgeCast"
}

If.roland-bridgecastv2 {
Condition {
Type String
Haystack "${CardComponents}"
Needle "USB0582:031e"
}
True.Define.ProfileName "Roland/BridgeCastV2"
}

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

0 comments on commit c3c2a30

Please sign in to comment.