Alan Stern wrote:
> Clemens:
> Are you the right person to ask about snd-usb-audio?

Yes.

> [...]
> However, the logs also showed that snd-usb-audio submits one iso URB,
> containing only one packet, per ms.  That creates a lot of interrupts; one
> every millisecond.  The computations in the driver are too complicated for
> me to figure out quickly.  However I don't see any reason why the driver
> shouldn't put, say, 20 packets in each URB and then submit URBs every 20
> ms.

It usually does put more than one packet into each URB, except when an
application requests interrupts at a higher rate, or when the nrpacks
module parameter is set to a lower value.

The output from speaker-test indicates that it sets the period size to
64 KB (i.e., interrupts every 341 frames), so I guess that nrpacks is
set to 1.  (I've heard that using nrpacks=1 is a way to trigger those
incorrect bandwidth warnings.)


Regards,
Clemens

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to