All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH v3 5/5] ALSA: snd-usb: add quirks handler for DSD streams
@ 2013-08-11 16:37 Jesus R
  2013-08-11 18:20 ` Jesus R
  2013-08-12  8:52 ` Daniel Mack
  0 siblings, 2 replies; 8+ messages in thread
From: Jesus R @ 2013-08-11 16:37 UTC (permalink / raw)
  To: alsa-devel

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:)

I also have a list of known DSD/DoP devices in Google Drive that may be
helpful. Let me know if it's okay to post the link.

Jesus R
sonore.us

^ permalink raw reply	[flat|nested] 8+ messages in thread
* [PATCH v3 0/5] ALSA: snd-usb: add support for DSD
@ 2013-04-16 16:01 Daniel Mack
  2013-04-16 16:01 ` [PATCH v3 5/5] ALSA: snd-usb: add quirks handler for DSD streams Daniel Mack
  0 siblings, 1 reply; 8+ messages in thread
From: Daniel Mack @ 2013-04-16 16:01 UTC (permalink / raw)
  To: alsa-devel; +Cc: tiwai, clemens, Daniel Mack, demian, ray, andreas

In contrast to the first two approaches, this one keeps the userspace
unaware of the actual transport on the bus.

More specifically, the DSD_U16_LE format may be implemented to actually
send DOP samples to the device, depending on the quirks entries.

Also, as there is quite some confusion in both data file formats as
well as hardware sample formats about whether to stuff the oldest bit
in the MSB or the LSB of a byte, ALSA defines that now to be in the
MSB, as far as the ALSA userspace layer is concerned. The driver
learned functions to re-encode the bytes according to what the hardware
supports.

I also wrote a very basic test tool which I published here:

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


Thanks,
Daniel

Daniel Mack (5):
  ALSA: add DSD formats
  ALSA: snd-usb: use ep->stride from urb callbacks
  ALSA: snd-usb: add support for DSD DOP stream transport
  ALSA: snd-usb: add support for bit-reversed byte formats
  ALSA: snd-usb: add quirks handler for DSD streams

 include/sound/pcm.h         |    2 +
 include/uapi/sound/asound.h |    4 +-
 sound/core/pcm.c            |    2 +
 sound/core/pcm_misc.c       |    8 +++
 sound/usb/card.h            |    8 +++
 sound/usb/endpoint.c        |    9 ++++
 sound/usb/format.c          |    3 ++
 sound/usb/pcm.c             |  118 ++++++++++++++++++++++++++++++++++++-------
 sound/usb/quirks.c          |   28 ++++++++++
 sound/usb/quirks.h          |    4 ++
 10 files changed, 167 insertions(+), 19 deletions(-)

-- 
1.7.10.4

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-08-12 12:25 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
     [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

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.