On Fri, 6 Oct 2006, Christopher "Monty" Montgomery wrote:

> As you've pointed out, there are two things to distinguish.
> 
> We need to report schedule xruns, meaning, missed slots.  -EXDEX in
> the urb status was mentioned at some point, as was 'urb's start_frame
> is out of sync from expected'.  Are these reported immediately upon
> next submission?

"start_frame out of sync" is reported immediately, upon submission.  In 
practice it never should come up because drivers will always use 
URB_ISO_ASAP.

-EXDEV is reported when the URB completes.

> We also need to distinguish the URBs simply starving for input from
> intentional shutdown.  You are alleging it is the responsibility of
> higher-level drivers to keep stuffing in URBs with dummy data to keep
> things going if they care.  The higher-level drivers are apparently
> not doing so.

According to Clemens, snd-usb-audio can be configured to use or to not use 
dummy data, by the application.  If it's doing the wrong thing your 
application is therefore at fault.

Alan Stern


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to