|
ADC Home > Reference Library > Reference > Audio > Carbon > Disc Recording Framework Reference
|
DRMSF |
Representation of a time interval expressed in minutes, seconds and frames.
On CDs, minutes/seconds/frames are used to identify positioning on a disc (which is
most useful on an audio disc), but applies to any position on a disc no matter what type of
data is present.
A frame is equivalent to a sector or block in normal disk parlance. 75 frames make up one
second, so a 2 second pause (typical pregap size) is 150 frames.
description |
Returns a textual representation of the receiver.
- (NSString*) description;
NSString containing a textual representation of the object with the standard formatting.
descriptionWithFormat: |
Returns a textual representation of the receiver.
- (NSString*) descriptionWithFormat:(NSString*) format;
formatNSString containing a textual representation of the object utilizing the specified format.
The format string is very similar to
a printf-style format string with %-escaped formatting characters.
frames |
Returns the number of frames represented by the receiver.
- (UInt32) frames;
This method differs from sectors in that it returns to the caller the number of frames remaining in the current second. For example an DRMSF value of 5:30:72 will return 72 from a message to frames .
initWithFrames: |
Initializes an msf object whose length is frames.
- (id) initWithFrames:(UInt32)frames;
A DRMSF object.
initWithString: |
Initializes an msf object initialized to the value represented by string
- (id) initWithString:(NSString*)string;
A DRMSF object.
isEqualToMSF: |
Compares on emsf to another.
- (BOOL) isEqualToMSF:(DRMSF*)otherDRMSF;
otherDRMSFYES if the two object are equal, NO otherwise.
minutes |
Returns the number of minutes represented by the receiver.
- (UInt32) minutes;
If the receiver represents a non integral number of minutes, only the whole minute value is returned. For example an DRMSF value of 5:30:72 will return 5 from a message to minutes .
msf |
Creates an msf object with no length/time.
+ (DRMSF*) msf;
An autoreleased DRMSF object.
msfByAdding: |
Adds an msf to the receiver.
- (DRMSF*) msfByAdding:(DRMSF*)msf;
msfA new DRMSF object totalling the sum of the reciever and msf
msfBySubtracting: |
Subtracts an msf to the receiver.
- (DRMSF*) msfBySubtracting:(DRMSF*)msf;
msfA new DRMSF object totalling the difference of the reciever and msf
msfWithFrames: |
Creates an msf object whose length is frames.
+ (DRMSF*) msfWithFrames:(UInt32)frames;
An autoreleased DRMSF object.
msfWithString: |
Creates an msf object initialized to the value represented by string
+ (DRMSF*) msfWithString:(NSString*)string;
An autoreleased DRMSF object.
seconds |
Returns the number of seconds represented by the receiver.
- (UInt32) seconds;
If the receiver represents a non integral number of seconds, only the whole second value is returned. For example an DRMSF value of 5:30:72 will return 30 from a message to seconds .
sectors |
Returns the total number of frames/sectors represented by the receiver.
- (UInt32) sectors;
This method differs from frames in that it returns to the caller the total number of frames/sectors represented by the object. For example an DRMSF value of 5:30:72 will return 24822 from a message to sectors .
|