Important: The information in this document is obsolete and should not be used for new development.
There is a more general purpose Idle Manager call for specifying absolute wallclock time of the next required idle.
QTIdleManagerSetNextIdleTime can be called to do this, passing
in a fully filled out TimeRecord,
using QuickTime’s wallclock timebase. Note that any derived media
handlers that use this call may need to do their computations in
track time, and then convert to wallclock time, using ConvertTime.
The wallclock timebase can be found by calling QTGetWallClockTimeBase.
Specifies the next time to idle.
QTIdleManagerSetNextIdleTime (IdleManager im, TimeRecord * nextIdle);
An idle manager.
A pointer to a TimeRecord containing
the wallclock time when the calling component would like to be idled.
If your component needs to call QTIdleManagerSetNextIdleTime,
you need to do wallclock time calculations, so you need to call
QTGetWallClockTimeBase.
QTGetWallClockTimeBase (TimeBase * wallClockTimeBase) |
In addition, you may need to call ConvertTime() in
order to convert from track time or media time to wallclock time,
and ConvertTimeScale() in
order to convert to the timescale you like to work in.
Introduced in QuickTime 6.
Movies.h
Last updated: 2002-07-01