|
ADC Home > Reference Library > Reference > Audio > Carbon > Disc Recording Framework Reference
|
DRTrack |
The DRTrack class represents a track on the burned disc.
estimateLength |
Asks the track producer for a size estimate.
- (uint64_t) estimateLength;
The estimated length of the track.
This method calls the track producer to ask it to estimate the size
needed for its data.
For some types of track, this call may be very expensive. For example,
a DRFilesystemTrack may need to iterate folders on disk to provide an
accurate estimate, which (if a large number of files and folders are
involved) can cause this call to take 30 seconds or more. Since your
main thread should not be allowed to block for this long, you may wish
to call this function on a separate thread.
initWithProducer: |
Initializes a DRTrack with the producer
- (id) initWithProducer:(id)producer;
producerA DRTrack
properties |
Returns the properties dictionary of the track.
- (NSDictionary*) properties;
An NSDictionary containing the properties of the track.
setProperties: |
Sets the properties dictionary of the track
- (void) setProperties:(NSDictionary*)properties;
propertiestestProductionSpeedForInterval: |
Tests the production speed for a specified interval.
- (float) testProductionSpeedForInterval:(NSTimeInterval)interval;
intervalThe maximum speed data can be produced at.
Runs a fake "production" cycle, repeatedly asking the receiver for data by calling
it's producer's produceDataIntoBuffer:length:atAddress:blockSize:ioFlags: for the
specified time interval.
Use this function to verify that the the production code can produce data fast
enough to satisfy the data throughput requirements of the burn.
Returns the calculated maximum speed the at which the receiver can produce data.
This value should be used when setting up a burn to limit the burn speed
testProductionSpeedForLength: |
Tests the production speed for a specified byte count.
- (float) testProductionSpeedForLength:(uint32_t)length;
lengthThe maximum speed data can be produced at.
Runs a fake "production" cycle, repeatedly asking the receiver for data by calling
it's producer's produceDataIntoBuffer:length:atAddress:blockSize:ioFlags: until
the specified length number of bytes have been produced.
Use this function to verify that the the production code can produce data fast
enough to satisfy the data throughput requirements of the burn.
Returns the calculated maximum speed the at which the receiver can produce data.
This value should be used when setting up a burn to limit the burn speed
|