]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
Configuration files for Roland Bridge Cast X V2
authorKonna1337 <r34p3r666@web.de>
Sun, 24 Nov 2024 03:51:49 +0000 (04:51 +0100)
committerJaroslav Kysela <perex@perex.cz>
Tue, 10 Dec 2024 09:47:18 +0000 (10:47 +0100)
Added configuration for Roland BridgeCast X. X Version of Bridgecast is wired diferently than the non X Version wich is supported

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/469
Signed-off-by: Konna1337 <r34p3r666@web.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/USB-Audio/Roland/BridgeCastXV2-Hifi.conf [new file with mode: 0644]
ucm2/USB-Audio/Roland/BridgeCastXV2.conf [new file with mode: 0644]
ucm2/USB-Audio/USB-Audio.conf

diff --git a/ucm2/USB-Audio/Roland/BridgeCastXV2-Hifi.conf b/ucm2/USB-Audio/Roland/BridgeCastXV2-Hifi.conf
new file mode 100644 (file)
index 0000000..426a15a
--- /dev/null
@@ -0,0 +1,174 @@
+Include.pcm_split.File "/common/pcm/split.conf"
+
+Macro [
+       {
+               SplitPCM {
+                       Name "bc_stereo_out"
+                       Direction Playback
+                       Channels 2
+                       HWChannels 16
+                       HWChannelPos0 FL
+                       HWChannelPos1 FR
+                       HWChannelPos2 FL
+                       HWChannelPos3 FR
+                       HWChannelPos4 FL
+                       HWChannelPos5 FR
+                       HWChannelPos6 FL
+                       HWChannelPos7 FR
+                       HWChannelPos6 FL
+                       HWChannelPos7 FR
+                       HWChannelPos8 FL
+                       HWChannelPos9 FR
+                       HWChannelPos10 FL
+                       HWChannelPos11 FR
+                       HWChannelPos12 FL
+                       HWChannelPos13 FR
+                       HWChannelPos14 FL
+                       HWChannelPos15 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 16
+               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 16
+               Channels 2
+               Channel0 2
+               Channel1 3
+               ChannelPos0 FL
+               ChannelPos1 FR
+       }
+}
+
+SectionDevice."Line3" {
+       Comment "Music L/R"
+
+       Value {
+               PlaybackPriority 300
+       }
+
+       Macro.pcm_split.SplitPCMDevice {
+               Name "bc_stereo_out"
+               Direction Playback
+               HWChannels 16
+               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 16
+               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
+       }
+}
diff --git a/ucm2/USB-Audio/Roland/BridgeCastXV2.conf b/ucm2/USB-Audio/Roland/BridgeCastXV2.conf
new file mode 100644 (file)
index 0000000..daf77a1
--- /dev/null
@@ -0,0 +1,6 @@
+Comment "Roland BridgeCast XV2 Hifi-Mode"
+
+SectionUseCase."HiFi" {
+       Comment "BridgeCast MultiChannel"
+       File "/USB-Audio/Roland/BridgeCastXV2-Hifi.conf"
+}
index 9019fbc982b15ee8fd5598fad4ceb85191a5d514..a01241dae5eaecbbc783eb8dedf2927aaf5a7006 100644 (file)
@@ -182,6 +182,15 @@ If.roland-bridgecastv2 {
        True.Define.ProfileName "Roland/BridgeCastV2"
 }
 
+If.roland-bridgecastx {
+       Condition {
+               Type String
+               Haystack "${CardComponents}"
+               Needle "USB0582:0321"
+       }
+       True.Define.ProfileName "Roland/BridgeCastXV2"
+}
+
 If.motu-m246 {
        Condition {
                Type RegexMatch