* Impact of SW on USB Audio?
@ 2008-06-05 14:11 Pavel Hofman
2008-06-11 17:05 ` Takashi Iwai
0 siblings, 1 reply; 3+ messages in thread
From: Pavel Hofman @ 2008-06-05 14:11 UTC (permalink / raw)
To: alsa-devel
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.
Regards,
Pavel.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Impact of SW on USB Audio?
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
0 siblings, 1 reply; 3+ messages in thread
From: Takashi Iwai @ 2008-06-11 17:05 UTC (permalink / raw)
To: Pavel Hofman; +Cc: alsa-devel
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Impact of SW on USB Audio?
2008-06-11 17:05 ` Takashi Iwai
@ 2008-06-11 21:27 ` Pavel Hofman
0 siblings, 0 replies; 3+ messages in thread
From: Pavel Hofman @ 2008-06-11 21:27 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-06-11 21:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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.