# CDROM

## Class methods

A class for playing audio CD's.

#### count

Returns the number of CDROMs installed.

#### destroy

Uninitializes the CDROM subsystem, which is normally not necessary.

#### new( number )

Creates a new CDROM access object for unit number. There can only be one CDROM object per unit. Numbering starts at 0.

## others

#### audiotrack?( track_nr )

Returns whether the specified track is an audiotrack.

#### current

#### name

Returns a string describing the CDROM.

#### num_tracks

Returns the number of tracks on the CD.

#### number

Returns the unit number that was specified in new.

#### track_length( track_nr )

Returns the length of the track.

Returns 0.0 when the track is not an audio track.

#### track_start( track_nr )

Returns the starting time of the track.

## The you-know-what-they-do methods

#### busy?

These are the you-know-what-they-do methods.

#### eject

#### empty?

#### pause

#### paused?

#### play( track_nr )

#### resume

#### stop