Path: chuka.playstation.co.uk!news From: "Mario Wynands" Newsgroups: scee.yaroze.programming.sound Subject: Re: CdPlay() Function Date: Sun, 23 Nov 1997 23:28:04 +1300 Organization: PlayStation Net Yaroze (SCEE) Lines: 31 Message-ID: <6590b6$1bn8@chuka.playstation.co.uk> References: <01bcf6d6$a36a05c0$a307e8c3@demon-spawn> NNTP-Posting-Host: p44-max7.well.ihug.co.nz X-Newsreader: Microsoft Outlook Express 4.71.1712.3 X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Here is a little piece of code to get you started. Note that in a thread in the scea sound group we are establishing whether the CDPlay() function is actually buggy or not. It seems to skip over certain tracks on certain CDs for no apparent reason. #include int tracks[10] = {10,4,6,8,1,3,5,7,9,0}; void main() { SsSetSerialAttr(SS_CD,SS_MIX,SS_SON); SsSetSerialVol(SS_CD,127,127); SsSetMVol(127,127); CdPlay(1,tracks,0); while(CdPlay(3,tracks,0) != -1); } Mario Michael Enoch <100413.2514@compuserve.com> wrote in message <01bcf6d6$a36a05c0$a307e8c3@demon-spawn>... >Does anyone have any insight on how to use the CdPlay() function, perhaps a >small program, I'm trying to use it but it just doesn't play anything. The >CD drive accesses, you can hear it, but no sound comes out..... > >Thanks, > Mike.