= class Burn::Track
This class references a single track on a disc.

== Object Hierarchy
* Object
  * Burn::Track

== Class Methods
--- Burn::Track.new
    Creates a track (for TAO recording, or to put in a session).
    * Returns: a newly allocated Burn::Track object.

== Instance Methods
--- clear_isrc
    Disables ISRC parameters for a track.
    * Returns: self.

--- define_data(offset, tail, pad, mode)
    Defines the data in a track.
    * mode: mode data format (bitfield).  
    * tail: the number of extra 0s to write after data. 
    * pad: true means the library should pad the last sector with 0s if the track isn't exactly sector sized (otherwise the library will begin reading from the next track). 
    * offset: the library will write this many 0s before start of data. 
    * Returns: self.

--- entry
    Gets the associated TOC entry of this track.
    * Returns: a Burn::TocEntry object.

--- mode
    Gets the audio/data mode for the entry. Derived from control and
    possibly from reading the track's first sector.
    * Returns: the mode of the track.

--- sectors
    This method returns how long a track will be on disc.
    * Returns: how long a track will be on disc.

--- set_isrc(country, owner, year, serial)
    Sets the ISRC details for a track.
    * serial: 5 digit serial number (a number in 0-99999).  
    * country: a 2 char country code, each character must be only numbers or letters. 
    * year: a 2 digit year (a number in 0-99, yep, not Y2K friendly). 
    * owner: a 3 char owner code, each character must be only numbers or letters. 
    * Returns: self.

--- set_source(source)
    Sets the track's data source.
    * source: the data source to use for the contents of the track, as a Burn::Source object.  
    * Returns: an error code stating if the source is ready for use for writing the track, or if an error occured (either Burn::Source::STATUS_OK, Burn::Source::STATUS_EOF, Burn::Source::STATUS_FAILED).

--- toc_entry
    Synonym for Burn::Track#entry.
    * Returns: a Burn::TocEntry object.

== See Also
((<Burn>)).

- ((<lrz>))
