3 Nov
2011
3 Nov
'11
4:21 p.m.
On 11/02/2011 04:49 PM, Clemens Ladisch wrote:
Example with queue length = 2:
- startup: driver queues both capture URBs
- 1st capture URB completes: driver queues 1st playback URB and requeues 1st capture URB
- 2nd capture URB completes: driver queues 2nd playback URB and requeues 2nd capture URB (all URBs are now queued)
- 1st capture URB completes: 1st playback URB is still busy (The playback URB might have been scheduled for a later frame, and even for the same frame, there is no guarantee that the completions for different endpoints happen in the same order as the queueing.)
I see. However, this really never happened in my tests so far. What would be a way to fix this? Queue less capture urbs than available slots for playback urbs?
Daniel