Scott Rossi wrote:
Anyone have any secrets for playing audioClips asynchronously with event
messages (not other sounds) on Windows?

In my Blocks game I use an audioclip and it takes a good couple of seconds to load a short click sound the first time. There's a very decided delay. After the first playback it works normally from then on. As soon as I leave the card, the sound gets dumped and when I return to the card it has to load all over again. If that's what's affecting you, then I imagine the loading is blocking any other activity while it's happening. Audio clips are very old technology and I don't think they've been updated since RR took over the engine; players are supposedly the way to go now.

As a test, you might try playing the clip on opencard or manually from the message box, just to see if preloading fixes it. If so, then we can try to figure out how to fake a preload. I thought there was a command for that, but I don't see it.

If you're getting the same problem each time you click the button (without changing cards,) not just the first time, then that may not be what's wrong. My delay happens on OS X too.

--
Jacqueline Landman Gay         |     jac...@hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com
_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to