Mailing Lists: Apple Mailing Lists

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

Isochronous frames with hi-speed recieved in non-uniforn order.



Hi,
I really hope someone will help me to resolve out my problem this time :). When I read video isochronous frames from my device running in high speed mode (with alternate setting 5), I get data but not in even order. Like if I get first packet with first 2 bytes 0x00, 0x00, and I should get next packet with 0x01, 0x00 after  900 bytes. But it shows exceptions showing next packet with more than 900 bytes size. It may be with any packet.
 
I am reading frames with following manner:
 
err = (*intf)->ReadIsochPipeAsync(intf, inPipeRef, inBuf, frame, (UInt32) MAX_READ_FRAME, frameList, (IOAsyncCallback1)MyCallBackFunction, (void*)(UInt32)inPipeRef);
where, inPipeRef = 1,
        frame    = GetCurrentFrameNumber ()+400; // in terms of frames, rather should be in terms of microframes, I tried that also but no success.
        MAX_READ_FRAME = 80 // in terms of frames
    frReqCount = 900.
 
I am skipping packets with actual count bytes (frAcCount)= 0.
 
Am I missing some thing important somewhere?
 
 
Waiting for your response,
Sheetal.
 
 _______________________________________________
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.