]> git.alsa-project.org Git - alsa-ucm-conf.git/commit
USB-Audio: Steinberg UR22C, UR24C: apply the firmware channel count to Direct
authorPetr Mrázek <peterix@gmail.com>
Thu, 15 Oct 2026 01:08:55 +0000 (03:08 +0200)
committerJaroslav Kysela <perex@perex.cz>
Mon, 16 Nov 2026 10:16:20 +0000 (11:16 +0100)
commit3e669398ee0fb864285bd2900abacee6de8a4d19
tree5274f9268779d92bb7caafd041e480b14c8fffce
parent455a83c58f1164017e6d581f00c94384a007ec25
USB-Audio: Steinberg UR22C, UR24C: apply the firmware channel count to Direct

The firmware condition sets DirectCaptureChannels to 2 for firmware
versions 01xx/02xx, but the Direct use case is created by a top-level
Macro, which UCM evaluates before If blocks. So the Direct use case
kept 4 capture channels on that firmware, while the HiFi use case
(loaded later) got 2.

Define the Direct use case inside the condition instead. With newer
firmware the result is unchanged.

Not tested on a UR22C or UR24C. It follows the same pattern as the
UR44 change in #882, which was tested on the device, and was checked
with alsaucm by evaluating both profiles on a UR44 whose bcdDevice
(0212) matches the firmware condition.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/883
Signed-off-by: Petr Mrázek <peterix@gmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/USB-Audio/Steinberg/UR22C.conf
ucm2/USB-Audio/Steinberg/UR24C.conf