From 2654ddb9f774a41c9f6a7b8039ca08262c1806c8 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Fri, 9 Jan 2026 22:43:32 +0100 Subject: [PATCH] USB-Audio: Add volume controls to Behringer UMCx0xHD direct profiles 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 --- ucm2/USB-Audio/Behringer/UMC202HD.conf | 4 ++++ ucm2/USB-Audio/Behringer/UMC204HD.conf | 4 ++++ ucm2/USB-Audio/Behringer/UMC404HD.conf | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/ucm2/USB-Audio/Behringer/UMC202HD.conf b/ucm2/USB-Audio/Behringer/UMC202HD.conf index ba4af84..1e20e49 100644 --- a/ucm2/USB-Audio/Behringer/UMC202HD.conf +++ b/ucm2/USB-Audio/Behringer/UMC202HD.conf @@ -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" +} diff --git a/ucm2/USB-Audio/Behringer/UMC204HD.conf b/ucm2/USB-Audio/Behringer/UMC204HD.conf index 48978ab..89a0308 100644 --- a/ucm2/USB-Audio/Behringer/UMC204HD.conf +++ b/ucm2/USB-Audio/Behringer/UMC204HD.conf @@ -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" +} diff --git a/ucm2/USB-Audio/Behringer/UMC404HD.conf b/ucm2/USB-Audio/Behringer/UMC404HD.conf index f04326a..2d94f93 100644 --- a/ucm2/USB-Audio/Behringer/UMC404HD.conf +++ b/ucm2/USB-Audio/Behringer/UMC404HD.conf @@ -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" +} -- 2.47.3