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

 


DRFile

Inherits from:
Declared In:

Overview

Represents a file to be created on the disc.

Discussion

A file can be either a pointer to an exiting file (residing on a hard drive for example) or can be created at burn time from data passed into the file object as requested. DRFiles can only exist inside of virtual DRFolder objects.



Methods

+fileWithPath:
Creates a real file object
-initWithPath:
Initializes a real file object

fileWithPath:


Creates a real file object

+ (DRFile*) fileWithPath:(NSString*)path; 
Parameters
path
The path to an existing file.
Return Value

An autoreleased DRFile object.

Discussion

This type of DRFile reads in data from an existing file located at path and burns that data to disc.


initWithPath:


Initializes a real file object

- (id) initWithPath:(NSString*)path; 
Parameters
path
The path to an existing file.
Return Value

An DRFile object.

Discussion

This type of DRFile reads in data from an existing file located at path and burns that data to disc.


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