View contents of this chapter

An Audio CD Player

To control an audio CD, you need to place the multimedia control on a form and adjust the DeviceType property to CDAudio to produce the correct combination of buttons that respond to audio CDs. The multimedia control updates the StatusUpdate event every time the track changes, as well as when the user begins playing the CD and stops playing the CD.

Play Sound If you want to display the track number as the control plays the CDs, you can use the StatusUpdate event to update the tracking information.

Command Description
Open Opens the device
Close Closes the device
Play Plays the device
Pause Pauses playing or recording
Stop Stops the device
Back Steps backward through available tracks
Step Steps forward through available tracks
Prev Goes to the beginning of the current track using the Seek command
Next Goes to the beginning of the next track
Seek Seeks track forward or backward
Record Initializes recording on the device
Eject Ejects Audio CD from CD drive
Save Saves the opne device file

 



© Universal Teacher Publications        INDEX Previous Screen Next Screen