Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

USB Overlapped IO general question



We are attempting to start to architect some new USB 2.0 code, both for PC
and Mac, that will get pictures from Digital Cameras. We also have a "Live
Mode" that tries to achieve a high frame rate.

We have written code for PCI and firewire that will issue several data read
requests at a time, not waiting to get a reply from the first read before we
request the second read. There are several reasons for this, some having to
do with how the camera itself operates it's FIFO.

So my questions is, is this achievable with user space USB 2.0 code on OS X?
I've seen some sample code that does an asynchronous read, then in it's
callback routine issues the next read. But can I issue several reads before
I receive the callback from the first read?

Ron Duritsch
Diagnostic Instruments, Inc.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Usb mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/usb/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.