[Scummvm-devel] CD sound interface
marcus at mc.pp.se
Wed Mar 20 03:56:02 CET 2002
"J.Brown (Ender/Amigo)" <ender at enderboi.com> writes:
> Actually, I commited a patch to CVS several days ago... which does only
> use one ;)
Ah, nice. I've been really busy the last couple of days so I haven't
had time to update.
> playtrack is now obsolete... and suprise suprise, I called the function
> exactly what you posted, even the end_frame variable.
> track is the track from 0. So it's pretty much always '1'.
Ok, so adding 1 would give the normal TOC track number then.
> num_loops is the number of times to repeat, also from 0.
> One play is 0, two plays is 1, etc. I believe -1 is infinity.. and yes,
> it should loop between start_frame and (if present) end_frame.
Thanks. Implementing CD sound on Dreamcast should be piece of cake now.
More information about the Scummvm-devel