Re: [tuxracer-devel] glTron music
Status: Beta
Brought to you by:
jfpatry
From: Jasmin P. <jf...@mu...> - 2000-03-29 04:07:08
|
On Mon, 27 Mar 2000, Steve Baker wrote: > Jasmin Patry wrote: > > Erm - I'm not sure - my son and I played it for a while and then dumped it > when the gameplay wore a bit thin. If the SDL version is under a month > old then we probably have the pre-SDL version. 0.59 beta (the first version to use SDL) was released on 5 March 2000. > The bottom line (for me at least) is that you need to have a call into > the sound generation/mixing stuff to tell it how much it's allowed to > generate ahead of time each time it's called. Only the application can > know how long that should be. Yes, I agree. I did some digging in SDL and SDL_mixer today and it does allow you to specify how much data to buffer. I'm not sure if it allows you to change that amount at run-time, but that seems to be an improvement over the libmikmod mixer. There are potential problems due to the non-determinism of thread scheduling, but my guess is that in practical situations this shouldn't be a problem. One disadvantage of SDL is that it's not as portable as PLIB (Linux is the only fully supported UNIX-type platform). I'll look into integrating the libmikmod code (loaders/players) into SL, if it's something you'd like to see added to PLIB. Cheers, Jasmin -- Jasmin Patry Master's Student, Dept. of Computer Science jf...@cg... http://www.cgl.uwaterloo.ca/~jfpatry/ |