All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Mack <daniel@caiaq.de>
To: Demian Martin <demianm_1@yahoo.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: Problem with USB Class 2 Audio Driver
Date: Sat, 21 Aug 2010 11:27:00 +0200	[thread overview]
Message-ID: <20100821092700.GS17833@buzzloop.caiaq.de> (raw)
In-Reply-To: <054801cb40c9$70349710$509dc530$@com>

On Fri, Aug 20, 2010 at 05:40:22PM -0700, Demian Martin wrote:
> I'm testing an early sample of the Wavelength Wavelink, a USB to S/PDIF
> adapter that supports 44.1-192 KHz sample rates and uses async usb to talk
> to ALSA. It works and plays all of the sample rates correctly with the git
> version of Alsa from 7/30/2010 whenthe files are sourced from the network.

What do you mean by "from the network"? How does your test setup look
like?

> However if I try to play from a usb source to the usb dac it doesn't work
> and the whole system gets unstable. 

You could also be more precise here :) What doesn't work, how are you
testing, and in which regard does the system get unstable?

> The platforms I have tested it on seem
> to have a single USB host interface but with USB 2 there should be enough
> bandwidth to pass the data from a USB stick to the cpu and back. If I use an
> older 96 only usb dac on the same system it works (unless the down
> conversion isn't a direct divide, which overloads the CPU, but that is a
> different issue). The problem seems to be sample rate independent and hits
> the moment I try to access the file. This is using MPD as a player.

Ah, so your data file is stored on a media which is also connected to
USB? Did you connect the two devices to different USB ports or do they
share one uplink with a hub?

> What additional info do you need to troubleshoot this? Is it an intrinsic
> limitation to the interface? What additional tests should I do? It's
> possible it's a hardware issue but how do I divide them so I can go back to
> the hardware guy if it's his issue? 

I'm not aware of any limitation, but there could be such issues as
exceeded bandwith on the bus and the like. How many audio channels are
we talking about?

You could measure the speed of your USB media by using something like
this:

	$ time dd if=/path/to/192khz.file of=/dev/null

This should take significantly less time than - let's say - half the
real-time audio playback time of the file, so there's enough headroom to
transport the audio data back to the USB DAC.

What kind of system is this, after all? Did you try other OS on the same
hardware for comparsion?


Daniel

  reply	other threads:[~2010-08-21  9:27 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-21  0:40 Problem with USB Class 2 Audio Driver Demian Martin
2010-08-21  9:27 ` Daniel Mack [this message]
2010-08-22 23:51   ` Demian Martin
2010-08-23 12:41     ` J. Gordon Rankin
2010-08-23 19:12     ` Daniel Mack
     [not found]       ` <20100823191209.GF17833-ahpEBR4enfnCULTFXS99ULNAH6kLmebB@public.gmane.org>
2010-08-23 20:34         ` J. Gordon Rankin
     [not found]           ` <4C72DB6A.5080601-P3U7sUXGDiZeoWH0uzbU5w@public.gmane.org>
2010-08-24  7:06             ` Daniel Mack
     [not found]               ` <20100824070601.GK17833-ahpEBR4enfnCULTFXS99ULNAH6kLmebB@public.gmane.org>
2010-08-24  7:52                 ` Oliver Neukum
2010-08-24 14:56         ` Alan Stern
     [not found]           ` <Pine.LNX.4.44L0.1008241050320.1652-100000-IYeN2dnnYyZXsRXLowluHWD2FQJk+8+b@public.gmane.org>
2010-09-06 18:31             ` Demian Martin
2010-09-06 20:05               ` Alan Stern

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=20100821092700.GS17833@buzzloop.caiaq.de \
    --to=daniel@caiaq.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=demianm_1@yahoo.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.