From: Craig McLure Date: Sat, 15 Mar 2025 14:43:57 +0000 (+0000) Subject: GoXLR: Add 'Broadcast Stream Mix 2' to Capture if channels X-Git-Tag: v1.2.14~39 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=b627bf6abe50b8bd84e455c6c0989b34b4b5803d;p=alsa-ucm-conf.git GoXLR: Add 'Broadcast Stream Mix 2' to Capture if channels Fixes: https://github.com/alsa-project/alsa-ucm-conf/issues/444 Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/523 Signed-off-by: Craig McLure Signed-off-by: Jaroslav Kysela --- diff --git a/ucm2/USB-Audio/GoXLR/GoXLR-HiFi.conf b/ucm2/USB-Audio/GoXLR/GoXLR-HiFi.conf index 9d8af8a..6614b00 100644 --- a/ucm2/USB-Audio/GoXLR/GoXLR-HiFi.conf +++ b/ucm2/USB-Audio/GoXLR/GoXLR-HiFi.conf @@ -192,3 +192,29 @@ SectionDevice."Line5" { ChannelPos1 FR } } + +If.mix2 { + Condition { + Type String + String1 "${var:CaptureChannels}" + String2 "25" + } + True.SectionDevice."Line6" { + Comment "Broadcast Stream Mix 2" + + Value { + CapturePriority 200 + } + + Macro.pcm_split.SplitPCMDevice { + Name "goxlr_stereo_in" + Direction Capture + HWChannels "${var:CaptureChannels}" + Channels 2 + Channel0 23 + Channel1 24 + ChannelPos0 FL + ChannelPos1 FR + } + } +}