[Live-devel] Resolution of scheduleDelayedTask()

David Arnold darnold at futurec.net
Wed Oct 18 16:07:38 PDT 2006


On Windows XP, what kind of resolution for executing scheduled tasks can I
expect?  I have a audio FramedSource class that sets fDurationInMicroseconds
to 24000 and I'm seeing actual execution intervals of doGetNextFrame() from
400 to has high as 80000 and more.  I am using the Windows API
QueryPerformanceCounter() in doGetNextFrame() to calculate the intervals.  I
was expecting intervals very close to the value I set in
fDurationInMicroseconds.  I'm tracking down some timing problems I'm
experiencing and this could be part of the problem.

Thank you,

Dave Arnold
Future Concepts, La Verne CA

The information contained in this electronic mail transmission is intended only for the use of the individual or entity named above and is privileged and confidential. If you are not the intended recipient, please do not read, copy, use or disclose this communication to others. Any dissemination, distribution or copying of this communication other than to the person or entity named above is strictly prohibited. If you have received this communication in error, please immediately delete it from your system.




More information about the live-devel mailing list