]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
USB-Audio: Add volume controls to Behringer UMCx0xHD direct profiles
authorJaroslav Kysela <perex@perex.cz>
Fri, 9 Jan 2026 21:43:32 +0000 (22:43 +0100)
committerJaroslav Kysela <perex@perex.cz>
Sun, 11 Jan 2026 20:33:51 +0000 (21:33 +0100)
The new direct macro and 'Syntax 8' updates allows to add
volume control to UCM direct profile for those cards.

Link: https://github.com/alsa-project/alsa-ucm-conf/issues/662
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/USB-Audio/Behringer/UMC202HD.conf
ucm2/USB-Audio/Behringer/UMC204HD.conf
ucm2/USB-Audio/Behringer/UMC404HD.conf

index ba4af84643618daa87a50b29a01c6fb89967b664..1e20e499d802147113c619b80e62a85a0d4f4a39 100644 (file)
@@ -8,3 +8,7 @@ SectionUseCase."HiFi" {
 Include.dhw.File "/common/directm.conf"
 
 Macro.0.DirectUseCase { Id="Direct" PlaybackChannels=2 CaptureChannels=2 }
+
+If.dvol.Prepend.SectionUseCase."Direct".Config.SectionDevice."Direct".Value {
+       PlaybackMixerElem "UMC202HD 192k Output"
+}
index 48978abb59e69cd528d173ab67cd9753c4975c64..89a03080c1ad82a0e76aaa900468947a88ff6a56 100644 (file)
@@ -8,3 +8,7 @@ SectionUseCase."HiFi" {
 Include.dhw.File "/common/directm.conf"
 
 Macro.0.DirectUseCase { Id="Direct" PlaybackChannels=4 CaptureChannels=2 }
+
+If.dvol.Prepend.SectionUseCase."Direct".Config.SectionDevice."Direct".Value {
+       PlaybackMixerElem "UMC204HD 192k Output"
+}
index f04326a6d52bc22d55393304832e19502f1265ac..2d94f9333d38af2bcfc01afb8e08aa7f6315a9b2 100644 (file)
@@ -8,3 +8,7 @@ SectionUseCase."HiFi" {
 Include.dhw.File "/common/directm.conf"
 
 Macro.0.DirectUseCase { Id="Direct" PlaybackChannels=4 CaptureChannels=4 }
+
+If.dvol.Prepend.SectionUseCase."Direct".Config.SectionDevice."Direct".Value {
+       PlaybackMixerElem "UMC404HD 192k Output"
+}