SetTimeBaseMasterTimeBase
You can use theSetTimeBaseMasterTimeBasefunction to assign a master time base to a time base. A time base derives its time from either a clock component or another time base. Do not use this function to assign a master time base to a movie's time base.
pascal void SetTimeBaseMasterTimeBase (TimeBase slave, TimeBase master, const TimeRecord *slaveZero);
slave- Specifies the time base for this operation. Your application obtains this time base identifier from the
NewTimeBasefunction (described on page 2-297).master- Specifies the master time base to be assigned to this time base. Your application obtains this time base identifier from the
NewTimeBasefunction.slaveZero- Contains a pointer to the time, in the time scale of the master time base, that corresponds to a 0 time value for the slave time scale. This parameter allows you to set an offset between the time base and the master time base. Set this parameter to
nilif there is no offset.ERROR CODES
NoneSEE ALSO
You can use theGetTimeBaseMasterTimeBasefunction, which is described in the next section, to determine the master time base that is assigned to a time base.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help