ALSA: usb-audio: Add native DSD support for Cambridge Audio streamers
PATCH 1/1 ALSA: usb-audio: Add native DSD support for Cambridge Audio streamers
The Cambridge Audio streamer advertises the UAC2 RAW_DATA format on altsetting 2 of its playback interface, but without the DSD_RAW quirk flag the driver exposes it only as a SPECIAL format that cannot be used.
Add QUIRK_FLAG_DSD_RAW for the device (USB ID 22e8:ca10), so the altsetting is exposed as DSD_U32_BE, enabling native DSD64/128/256 playback.
Tested with: gst-launch-1.0 filesrc location=file.dsf ! \
avdemux_dsf ! dsdconvert ! \
alsasink device=hw:2,0--- sound/usb/quirks.c | 2 ++ 1 file changed, 2 insertions(+)
sound/usb/quirks.c +2 -0
@@ -2730,6 +2730,8 @@ static const struct usb_audio_quirk_flags_table quirk_flags_table[] = { QUIRK_FLAG_DSD_RAW),DEVICE_FLG (0x21b4 ,0x0232 ,/* Ayre QX-5 Twenty */ QUIRK_FLAG_DSD_RAW ), +DEVICE_FLG (0x22e8 ,0xca10 ,/* Cambridge Audio streamers */ +QUIRK_FLAG_DSD_RAW ),DEVICE_FLG (0x2522 ,0x0007 ,/* LH Labs Geek Out HD Audio 1V5 */ QUIRK_FLAG_SET_IFACE_FIRST ), DEVICE_FLG(0x25aa, 0x600b, /* TAE1159 */
Signature · 1 line
2.43.0
Quoted 10 lines · Matus Gajdos
The Cambridge Audio streamer advertises the UAC2
RAW_DATAformat on altsetting 2 of its playback interface, but without theDSD_RAWquirk flag the driver exposes it only as a SPECIAL format that cannot be used.Add
QUIRK_FLAG_DSD_RAWfor the device (USB ID 22e8:ca10), so the altsetting is exposed asDSD_U32_BE, enabling native DSD64/128/256 playback.
Quoted 5 lines
Tested with: gst-launch-1.0 filesrc location=file.dsf ! \ avdemux_dsf ! dsdconvert ! \ alsasink device=hw:2,0Signed-off-by Matus Gajdos <[email protected]>
Applied now. Thanks.
Takashi