From: Jaroslav Kysela Date: Fri, 9 Jan 2026 21:43:32 +0000 (+0100) Subject: USB-Audio: Add volume controls to Behringer UMCx0xHD direct profiles X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=2654ddb9f774a41c9f6a7b8039ca08262c1806c8;p=alsa-ucm-conf.git 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 --- 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" +}