From: Takashi Iwai <tiwai@suse.de>
To: Nobutaka Okabe <nob77413@gmail.com>
Cc: alsa-devel@alsa-project.org, Jurgen Kramer <gtmkramer@xs4all.nl>
Subject: Re: [PATCH 3/3] ALSA: usb-audio: Integrate native DSD support for ITF-USB based DACs.
Date: Fri, 23 Mar 2018 22:14:33 +0100 [thread overview]
Message-ID: <s5hy3ii8pfq.wl-tiwai@suse.de> (raw)
In-Reply-To: <20180323102113.6624-1-nob77413@gmail.com>
On Fri, 23 Mar 2018 11:21:13 +0100,
Nobutaka Okabe wrote:
>
> Integrate the native DSD support quirk codes of "ITF-USB DSD" based DACs.
>
> Now, "is_itf_usb_dsd_2alts_dac()" and "is_itf_usb_dsd_3alts_dac()" is integrated
> into one function "is_itf_usb_dsd_dac()".
> So, remove the logic to distinguish UD-501 and UD-501V2 by the "Product Name".
>
> The integration is possible by changing the following two functions.
>
> - snd_usb_select_mode_quirk():
> Change the determination condition of the DSD mode switch command,
> from the altset number being used, to the audio format being played.
> Actually, this operation is same as playback using ASIO driver in Windows environment.
>
> - snd_usb_interface_dsd_format_quirk():
> To which altset supports native DSD is determined by the number of altsets.
> Previously, it's a constant "2" or "3".
>
> Signed-off-by: Nobutaka Okabe <nob77413@gmail.com>
Applied to for-next branch, but with a minor fix about the comment
style below...
> - if (fp->altsetting == 3)
> + /* Altsetting 2 support native DSD if the num of altsets is three (0-2),
> + Altsetting 3 support native DSD if the num of altsets is four (0-3). */
Use the standard comment style mentioned in submitting-patches.rst at
the next time. Also, it'd be better to fold lines in a bit narrower
(less than 75 chars) in the changelog text. I formatted by myself at
this time.
The code change itself is good and a nice cleanup.
Thanks!
Takashi
next prev parent reply other threads:[~2018-03-23 21:14 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-23 10:18 [PATCH 1/3] ALSA: usb-audio: Add native DSD support for Luxman DA-06 Nobutaka Okabe
2018-03-23 10:20 ` [PATCH 2/3] ALSA: usb-audio: FIX native DSD support for TEAC UD-501 DAC Nobutaka Okabe
2018-03-23 10:21 ` [PATCH 3/3] ALSA: usb-audio: Integrate native DSD support for ITF-USB based DACs Nobutaka Okabe
2018-03-23 21:14 ` Takashi Iwai [this message]
2018-03-23 21:11 ` [PATCH 2/3] ALSA: usb-audio: FIX native DSD support for TEAC UD-501 DAC Takashi Iwai
2018-03-23 21:11 ` [PATCH 1/3] ALSA: usb-audio: Add native DSD support for Luxman DA-06 Takashi Iwai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=s5hy3ii8pfq.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=gtmkramer@xs4all.nl \
--cc=nob77413@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox