From: Steve B. <sjb...@ai...> - 2000-02-17 19:49:18
|
"Vallevand, Mark K" wrote: > > The playMusic() in slScheduler allows a callback to be specified, > but the callback is never called. Is this a known restriction? No - it should work. I looked (briefly) at the code and the callback is actually passed down to the lower level slPlayer class. That's the common base class for MOD music and sound effects - and I *know* the sound effects callbacks work because I've used them. It's possible that this has never been tested though - I probably just assumed that the base class would handle it - and for some reason it can't. I can't think of any code that I've written that didn't simply set the music track to loop indefinitely until I decide to tell it to stop. You have tried this and know it doesn't work or were you just looking at the sources and wondering when it gets called? If so then you've found a bug and I'll have to go and track it down because this is important functionality. -- Steve Baker http://web2.airmail.net/sjbaker1 sjb...@ai... (home) http://www.woodsoup.org/~sbaker sj...@ht... (work) |