ADC Home > Reference Library > Reference > Audio > Carbon > Disc Recording Framework Reference

 


DRTrack(PropertyConvenience)

Extends Class:
Declared In:

Overview

This category on DRTrack defines methods that make setting and retrieving the various DRTrack properties easier.



Methods

-length
Returns the length of the track data.
-preGap
Returns the length of the pre gap.
-setPreGap:
Sets the length of the pre gap.

length


Returns the length of the track data.

- (DRMSF*) length; 
Return Value

A DRMSF representing the length of the track.

Discussion

The length returned does not include the length of the pregap. Only the length of the track data itself is returned.


preGap


Returns the length of the pre gap.

- (DRMSF*) preGap; 
Return Value

A DRMSF representing the length of the pre gap.

Discussion

This is a simple wrapper to obtain the DRPreGapLengthKey . If the DRPreGapLengthKey property has not been set for the track this method will return a zero-length DRMSF object (0m:0s:0f).


setPreGap:


Sets the length of the pre gap.

- (void) setPreGap:(DRMSF*)preGap; 
Parameters
preGap
the pre gap length.
Discussion

This is a simple wrapper to set the DRPreGapLengthKey .


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.
Last Updated: 2008-04-01