From a4e5aa359100bda8df1f6b786060fb91adf4e81c Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Sat, 25 Jun 2022 08:19:59 +0200 Subject: [PATCH] common: ctl - remap.conf - switch Dst / Src use The Dst and Src macro arguments were improperly used. Switch them. BugLink: https://github.com/alsa-project/alsa-ucm-conf/issues/177 Signed-off-by: Jaroslav Kysela --- ucm2/common/ctl/remap.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ucm2/common/ctl/remap.conf b/ucm2/common/ctl/remap.conf index 9ee7cdf..e19568e 100644 --- a/ucm2/common/ctl/remap.conf +++ b/ucm2/common/ctl/remap.conf @@ -14,10 +14,10 @@ DefineMacro.CtlRemapMonoVolSw { LibraryConfig.pcm.SubstiConfig { ctl.default.map { - "name='${var:__Src} Volume'"."name='${var:__Dst} Volume'" { + "name='${var:__Dst} Volume'"."name='${var:__Src} Volume'" { vindex.0 "${evali:$__Index}" } - "name='${var:__Src} Switch'"."name='${var:__Dst} Switch'" { + "name='${var:__Dst} Switch'"."name='${var:__Src} Switch'" { vindex.0 "${evali:$__Index}" } } @@ -37,11 +37,11 @@ DefineMacro.CtlRemapMonoVolSw { DefineMacro.CtlRemapStereoVolSw { LibraryConfig.pcm.SubstiConfig { ctl.default.map { - "name='${var:__Src} Volume'"."name='${var:__Dst} Volume'" { + "name='${var:__Dst} Volume'"."name='${var:__Src} Volume'" { vindex.0 "${evali:$__Index0}" vindex.1 "${evali:$__Index1}" } - "name='${var:__Src} Switch'"."name='${var:__Dst} Switch'" { + "name='${var:__Dst} Switch'"."name='${var:__Src} Switch'" { vindex.0 "${evali:$__Index0}" vindex.1 "${evali:$__Index1}" } -- 2.47.1