[alsa-devel] [PATCH] ALSA: usb-audio: add DSD support for new Amanero PID

Jussi Laako jussi at sonarnerd.net
Fri Aug 18 09:42:14 CEST 2017


Add DSD support for new Amanero Combo384 firmware version with a new
PID. This firmware uses DSD_U32_BE.

Signed-off-by: Jussi Laako <jussi at sonarnerd.net>
---
 sound/usb/quirks.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c
index 2eb6e0d..c09a28b 100644
--- a/sound/usb/quirks.c
+++ b/sound/usb/quirks.c
@@ -1374,6 +1374,10 @@ u64 snd_usb_interface_dsd_format_quirks(struct snd_usb_audio *chip,
 			}
 		}
 		break;
+	case USB_ID(0x16d0, 0x0a23):
+		if (fp->altsetting == 2)
+			return SNDRV_PCM_FMTBIT_DSD_U32_BE;
+		break;
 
 	default:
 		break;
-- 
2.7.4



More information about the Alsa-devel mailing list