All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pavel Hofman <pavel.hofman@insite.cz>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org
Subject: Re: Impact of SW on USB Audio?
Date: Wed, 11 Jun 2008 23:27:51 +0200	[thread overview]
Message-ID: <48504357.7080601@insite.cz> (raw)
In-Reply-To: <s5htzfz2972.wl%tiwai@suse.de>



Takashi Iwai napsal(a):
> At Thu, 05 Jun 2008 16:11:49 +0200,
> Pavel Hofman wrote:
>> Hi,
>>
>> Please excuse my non-devel question but the most knowledgeable people
>> read this mailing list.
>>
>> Can user-space software (regular players) directly influence quality of
>> USB adaptive audio output? IOW, how sensitive is adaptive USB to the
>> rhythm of the data infeed to the USB controller?
>>
>> I understand for standard PCI soundcards it is all only about timely
>> delivery of enough data to DMA memory,the card takes care of the rest
>> itself. Do USB controllers shield applications from the rest in the same
>> manner?
>>
>> The adaptive mode is sensitive to jitter of the data stream from the USB 
>> controller to the receiver. Can SW players influence the jitter, e.g. by 
>> moving the wav files from HDD to RAM disk etc.?  I assume a lightly 
>> loaded system with no major data delays.
>>
>> Thanks a lot for any insight, I could not google-out any relevant
>> information.
> 
> The usb-audio uses isochronous transport, i.e. you'll send packets of
> data at a certain period.  But, it's a driver implementation issue and
> from the user-space POV, there is no big difference.  The URB-complete
> callback corresponds to the DMA IRQ of PCI devices.
> 
> (Of course, if you want a very short period in a real-time manner, the
> transfer efficiency matters largely, though.  But it's a different
> story than the load you described above.)

Takashi,

Thanks a lot for your reply which has narrowed down the area I will have 
to look at detail.

Regards,

Pavel.

      reply	other threads:[~2008-06-11 21:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-05 14:11 Impact of SW on USB Audio? Pavel Hofman
2008-06-11 17:05 ` Takashi Iwai
2008-06-11 21:27   ` Pavel Hofman [this message]

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=48504357.7080601@insite.cz \
    --to=pavel.hofman@insite.cz \
    --cc=alsa-devel@alsa-project.org \
    --cc=tiwai@suse.de \
    /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.