ClockRateChanged
The Movie Toolbox calls your component'sClockRateChangedfunction whenever the callback's time base rate changes. The Movie Toolbox calls this function only if theqtcbNeedsRateChangesflag is set to 1 in thecallBackFlagsfield of the callback header structure in theQTCallBackHeaderstructure allocated by your clock component (see "Data Type" beginning on page 11-5 for more information about the callback header structure).
pascal ComponentResult ClockRateChanged (ComponentInstance aClock, QTCallBack cb);
aClock- Specifies the clock for the operation. Applications obtain this identifier from the Component Manager's
OpenComponentfunction.cb- Specifies the callback for the operation. The Movie Toolbox obtains this value from your component's
ClockNewCallBackfunction (described on page 11-9).DESCRIPTION
The Movie Toolbox calls this function once for each qualified callback function associated with the time base. Note that the Movie Toolbox calls this function only for callback events that are currently scheduled.