Skip to contentSkip to conversation

USB-Audio: Steinberg UR22C, UR24C: apply the firmware channel count to Direct

DISCUSSION GitHub pull_request - opened 1 participant 1 message Oct 15 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

alsa-project/alsa-ucm-conf pull request #883 was opened from peterix:

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, but 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.

Request URL : https://github.com/alsa-project/alsa-ucm-conf/pull/883
Patch URL : https://github.com/alsa-project/alsa-ucm-conf/pull/883.patch
Repository URL: https://github.com/alsa-project/alsa-ucm-conf