Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

< Previous PageNext Page > Hide TOC

Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

General Purpose Idle Manager API

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.

QTIdleManagerSetNextIdleTime

Specifies the next time to idle.

QTIdleManagerSetNextIdleTime (IdleManager im,
   TimeRecord * nextIdle);

Parameters
im

An idle manager.

nextIdle

A pointer to a TimeRecord containing the wallclock time when the calling component would like to be idled.

Discussion

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.

Availability
Declared In
Movies.h

< Previous PageNext Page > Hide TOC


Last updated: 2002-07-01




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice