]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
GoXLR: Fixed sampler input configuration
authorCraig McLure <craig@mclure.net>
Mon, 23 May 2022 23:56:17 +0000 (00:56 +0100)
committerJaroslav Kysela <perex@perex.cz>
Tue, 24 May 2022 13:11:58 +0000 (15:11 +0200)
Renamed the 'Sample' input channel to 'Sampler' to better reflect it's behaviour, and corrected channel numbers.

Link: https://github.com/alsa-project/alsa-ucm-conf/pull/155
Signed-off-by: Craig McLure <craig@mclure.net>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/USB-Audio/GoXLR/GoXLR-HiFi.conf

index c29d7af54a24317500fba11b14db2b753d7fd7e8..343fbccc654299c6b8124ad99e3f3a573707b2b1 100644 (file)
@@ -114,13 +114,13 @@ LibraryConfig.pcm.Config {
                }
        }
 
-       pcm.goxlr_sample_input {
+       pcm.goxlr_sampler_input {
                @args [ CARD ]
                @args.CARD.type string
                type empty
                slave.pcm {
                        @func concat
-                       strings [ "goxlr_stereo_in:" $CARD ",16,17" ]
+                       strings [ "goxlr_stereo_in:" $CARD ",4,5" ]
                }
        }
 
@@ -190,10 +190,10 @@ SectionDevice."Headset" {
 }
 
 SectionDevice."Line5" {
-       Comment "Sample"
+       Comment "Sampler"
 
        Value {
                CapturePriority 300
-               CapturePCM "goxlr_sample_input:${CardId}"
+               CapturePCM "goxlr_sampler_input:${CardId}"
        }
 }