CompactDiscID

Store some info that uniquely identifies a CompactDisc. More...

Public Methods

CompactDiscID( int num, int first, int start[] );
CompactDiscID( const CompactDiscID& id );
intfirstTrack( );
intnumTracks( );
booloperator==( const CompactDiscID& id );
inttrackLength( int track );
inttrackMinute( int track );
inttrackSecond( int track );
inttrackStart( int track );
~CompactDiscID( );

Private Methods

CompactDiscID&operator=( CompactDiscID& id );

Private Data Members

int_firstTrack;
int_numTracks;
int*_trackStart;

Detailed Documentation

Store some info that uniquely identifies a CompactDisc.

Store some information about an audio compact disc that can be derived directly from the physical disc itself. The following attributes are used to identify the disc: number of tracks on the disc, absolute starting frame of each track (including leadout track).

Public Methods Documentation

CompactDiscID ( int num, int first, int start[] );

Create a CompactDiscID from the disc's data.

CompactDiscID ( const CompactDiscID& id );

Create a CompactDiscID from another CompactDiscID.

int firstTrack ( );

Return the first track number on the disc.

int numTracks ( );

Return the number of tracks on the disc.

bool operator== ( const CompactDiscID& id );

Determine if two CompactDiscIDs are equal.

int trackLength ( int track );

Return the length of track number track in frames.

int trackMinute ( int track );

Return the minutes part of track number track's length.

int trackSecond ( int track );

Return the seconds part of track number track's length.

int trackStart ( int track );

Return the absolute starting frame of track number track.

~CompactDiscID ( );

Destroy a CompactDiscID.


Return to Index.
Automatically generated on Dec 29 18:17