Path: chuka.playstation.co.uk!news From: James Shaughnessy Newsgroups: scea.yaroze.programming.sound,scee.yaroze.programming.sound Subject: Re: Determining # of tracks Date: Tue, 26 Jan 1999 15:23:31 +0000 Organization: PlayStation Net Yaroze (SCEE) Lines: 25 Message-ID: <36ADDDF3.571BC230@manc.u-net.com> References: <36AD1717.E9B4FC38@vmlabs.com> NNTP-Posting-Host: manc.u-net.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.5 [en] (Win95; I) X-Accept-Language: en Xref: chuka.playstation.co.uk scea.yaroze.programming.sound:204 scee.yaroze.programming.sound:235 Hi Scott, I found this problem too and posted numerous messages to try and find a solution, to no avail. I'm SURE there is a way though -- someone's just not letting on! The result was the CD Player in Grav always thinks there are exactly 20 tracks on a CD (I guessed 20 was ample without being too many). Bit of a pain, but what y'gonna do. The biggest problem with CDPlay() is that it seems to always find dummy tracks, and loves skipping all over the place, and not going to the next track properly. Strange when the PSX's built-in CD Player plays all CDs perfectly. Just an iffy Yaroze lib function of course, but I'm just glad they let us have this much! Jim Scott Cartier wrote: > Posted this in the "programming" group, but figure it belongs here too. > > How does one determine how many music tracks there are on an audio CD > from within your program? When using CdPlay() I'd like to avoid > accessing non-existant tracks if I can. > > Scott