[alsa-devel] [PATCH] usb: add native DSD support for Matrix Audio DACs

Michael Trimarchi michael at amarulasolutions.com
Wed Dec 17 17:52:43 CET 2014


Hi

Il 18/dic/2014 00:45 "Jurgen Kramer" <gtmkramer at xs4all.nl> ha scritto:
>
> This patch adds native DSD support for two XMOS based DACs from Matrix
Audio:
> - X-Sabre
> - Mini-i Pro
>
> Signed-off-by: Jurgen Kramer <gtmkramer at xs4all.nl>
> ---
>  sound/usb/quirks.c | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c
> index 4dbfb3d..a739841 100644
> --- a/sound/usb/quirks.c
> +++ b/sound/usb/quirks.c
> @@ -1245,8 +1245,9 @@ u64 snd_usb_interface_dsd_format_quirks(struct
snd_usb_audio *chip,
>
>         /* XMOS based USB DACs */
>         switch (chip->usb_id) {
> -       /* iFi Audio micro/nano iDSD */
> -       case USB_ID(0x20b1, 0x3008):
> +       case USB_ID(0x20b1, 0x3008): /* iFi Audio micro/nano iDSD */
> +       case USB_ID(0x20b1, 0x2008): /* Matrix Audio X-Sabre */
> +       case USB_ID(0x20b1, 0x300a): /* Matrix Audio Mini-i Pro */

You add and change comment style ;)

Michael

>                 if (fp->altsetting == 2)
>                         return SNDRV_PCM_FMTBIT_DSD_U32_BE;
>                 break;
> --
> 1.9.3
>
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel at alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel


More information about the Alsa-devel mailing list