Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CD-ROM UNIT

Status
Not open for further replies.

HateMe

Programmer
Mar 7, 2007
1
RO
Hi I am building an Audio CD player in Turbo Pascal 7 and I have a little problem with my unit that I wanted to use for playing the tracks. The unit is an old unit that I picked up from a site, it works OK but it will not play the 1st track on the CD.
Here is a link to the UNIT
and 2 ex.

1.
uses cdrom;
Begin
cd_play(1,cd_track_length(1));
End. {playing the first track NO sound, Nothing}

2.
uses cdrom;
Begin
cd_play(2,cd_track_length(2));
End. {Plays the 2nd track}

So pls HELP me to find the problem

THX
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top