]> git.alsa-project.org Git - alsa-lib.git/commit
conf: USB-Audio: use PCM device 1 for IEC958 on C-Media HIFI Decode Audio
authorBrian Kroth <bpkroth@gmail.com>
Fri, 16 Oct 2026 19:30:42 +0000 (14:30 -0500)
committerJaroslav Kysela <perex@perex.cz>
Mon, 30 Nov 2026 21:11:38 +0000 (22:11 +0100)
commit8adb4850c426d5388de72e7638f46cff2ae7edba
treed34cd1ae4d233e094b1d70d6a80d4a8cf2f4e52f
parent3a19aa6b79dcffeeced4072b45e872803e160a97
conf: USB-Audio: use PCM device 1 for IEC958 on C-Media HIFI Decode Audio

The C-Media "HIFI Decode Audio" USB device (0d8c:0089) exposes its
analog DAC on PCM device 0 (USB interface 1, up to 768 kHz and DSD)
and its optical S/PDIF output on PCM device 1 (USB interface 2, up to
192 kHz). Device 2 is the non-PCM alternate setting of the same
S/PDIF endpoint.

Without an entry here, iec958:CARD=... resolves to device 0, so the
"Digital Stereo (IEC958)" output in PipeWire/PulseAudio plays through
the analog jack and the optical output stays silent.

Closes: https://github.com/alsa-project/alsa-lib/pull/534
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Signed-off-by: Brian Kroth <bpkroth@gmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/conf/cards/USB-Audio.conf