History

ALSA: usb-audio: Add quirk flag for HEM devices to enable native DSD playback

This commit adds new DEVICE_FLG with QUIRK_FLAG_DSD_RAW and Vendor Id for HEM devices which supports native DSD. Prior to this change Linux kernel was not enabling native DSD playback for HEM devices, and as a result, DSD audio was being converted to PCM "on the fly". HEM devices, when connected to the system, would only play audio in PCM format, even if the source material was in DSD format. With the addition of new VENDOR_FLG in the quircks.c file, the devices are now correctly recognized, and raw DSD data is transmitted to the device, allowing for native DSD playback.

Lukasz Tyl committed 3 years ago

Commit 122e2cb1 parent 8ba61c91 file · +2 −0Browse files

Unified · Split

sound/usb/quirks.c+2−0
@@ -2191,6 +2191,8 @@ static const struct usb_audio_quirk_flags_table quirk_flags_table[] = { · 2190 unmodified lines
2191 QUIRK_FLAG_DSD_RAW),2191 QUIRK_FLAG_DSD_RAW),
2192 VENDOR_FLG(0x2ab6, /* T+A devices */2192 VENDOR_FLG(0x2ab6, /* T+A devices */
2193 QUIRK_FLAG_DSD_RAW),2193 QUIRK_FLAG_DSD_RAW),
2194 VENDOR_FLG(0x3336, /* HEM devices */
2195 QUIRK_FLAG_DSD_RAW),
2194 VENDOR_FLG(0x3353, /* Khadas devices */2196 VENDOR_FLG(0x3353, /* Khadas devices */
2195 QUIRK_FLAG_DSD_RAW),2197 QUIRK_FLAG_DSD_RAW),
2196 VENDOR_FLG(0x3842, /* EVGA */2198 VENDOR_FLG(0x3842, /* EVGA */