Function | Description |
---|---|
cd_init | Must be called before using the other functions. Should also be called when a CD is changed (or simply from time to time). |
cd_present | Returns whether a CD is present in the default CD drive. |
cd_number | Returns the number of tracks on the CD. |
cd_playing | Returns whether the CD is playing. |
cd_paused | Returns whether the CD is paused or stopped. |
cd_track | Returns the number of the current track (1=the first). |
cd_length | Returns the length of the total CD in milliseconds. |
cd_track_length | Returns the length of track n of the CD in milliseconds. |
cd_position | Returns the current position on the CD in milliseconds. |
cd_track_position | Returns the current position in the track being played in milliseconds. |
cd_play | Tells the CD to play tracks first until last. If you want to play the full CD give 1 and 1000 as arguments. |
cd_stop | Stops playing |
cd_pause | Pauses the playing. |
cd_resume | Resumes the playing. |
cd_set_position | Sets the position on the CD in milliseconds. |
cd_set_track_position | Sets the position in the current track in milliseconds. |
cd_open_door | Opens the door of the CD player |
cd_close_door | Closes the door of the CD player |
The following function has also been removed:
Function | Description |
---|---|
MCI_command | This functions sends the command string to the Windows multimedia system using the Media Control Interface (MCI). It returns the return string. You can use this to control all sorts of multimedia devices. See the Windows documentation for information in how to use this command. For example MCI_command('play cdaudio from 1') plays a CD (after you have correctly initialized it using other commands). This function is only for advanced use! |
These are Windows only functions and no longer applicable to any
other device.