All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Mack <zonque@gmail.com>
To: Jesus R <sonorejr@gmail.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: [PATCH v3 5/5] ALSA: snd-usb: add quirks handler for DSD streams
Date: Mon, 12 Aug 2013 10:52:29 +0200	[thread overview]
Message-ID: <5208A24D.5000400@gmail.com> (raw)
In-Reply-To: <CANNq7HhLg=1p4ASYzRdN4igexQX11NhwdbiKF2eS=avnyU1ykA@mail.gmail.com>

On 11.08.2013 18:37, Jesus R wrote:
> Daniel/team, I have access to a few DSD devices and or USB based devices. I
> can provide any information you need to help with allowing ALSA to identify
> the device's capabilities. Just let me know how to get the information you
> need from command line:)

Nice. I take it those devices are DOP-capable?

Given than none of devices have a chance to report their capabilities to
the host, finding out which modes to use is a trial-and-error game,
unless you have access to the firmware sources.

Hence, please just look up the USB IDs and alternate interface settings
of your connected device with lsusb, and then augment the code in
snd_usb_interface_dsd_format_quirks() (file sound/usb/quirks.c) and play
around with different possibilities (bitreverse on/off, DSD_U8 vs
DSD_U16 etc). Follow the example that I provided in that function.

You have to recompile and rmmod/insmod the snd-usb driver every time you
make a change, and then you need some sort of userspace tool to test it.
I published one here:

 https://github.com/zonque/alsa-dsd-player


Once you have more quirks sorted out, please send a patch. I'm sorry
there's no easier way to work on this. Let me know if you need more
instructions.


Thanks,
Daniel

  parent reply	other threads:[~2013-08-12  8:52 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-11 16:37 [PATCH v3 5/5] ALSA: snd-usb: add quirks handler for DSD streams Jesus R
2013-08-11 18:20 ` Jesus R
2013-08-12  8:52 ` Daniel Mack [this message]
     [not found]   ` <CANNq7HjgbBvJLRPpewWZKF1LSYmDaSndQnmaXV9XSLj7rvPeHA@mail.gmail.com>
2013-08-12 11:43     ` Daniel Mack
2013-08-12 12:17       ` Jesus R
2013-08-12 11:52     ` Daniel Mack
2013-08-12 12:25       ` Jesus R
  -- strict thread matches above, loose matches on Subject: below --
2013-04-16 16:01 [PATCH v3 0/5] ALSA: snd-usb: add support for DSD Daniel Mack
2013-04-16 16:01 ` [PATCH v3 5/5] ALSA: snd-usb: add quirks handler for DSD streams Daniel Mack

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=5208A24D.5000400@gmail.com \
    --to=zonque@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=sonorejr@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.