[Openal] One sound to rule them all. One sound to bind them...
and in the program.... mess it all up.
alex.constantin at yahoo.com
Sat Jun 28 04:22:24 PDT 2008
I suspect that the reason the other ones won't play is that you cue all the
buffers onto the same source ?
If you want the sounds to overlap, you should have multiple sources.
> First of all, OpenAL is awesome, needs to be supported more, and I just
> love it.
> Now to my topic:
> I have this sound named "laser.wav" and I have a class called Cube. In
> cube's initialization, I load the sound "laser.wav" only for that
> particular cube. There's 40 cubes, and so "laser.wav" is loaded 40 times
> into 40 different buffers. However, when I play one cube's laser sound,
> another cube's laser sound won't play until the first one was finished.
> Any help?
- VC# 2005
- Tao Framework 2.1.0
View this message in context: http://www.nabble.com/One-sound-to-rule-them-all.-One-sound-to-bind-them...-and-in-the-program....-mess-it-all-up.-tp18168458p18169721.html
Sent from the OpenAL - User mailing list archive at Nabble.com.
More information about the Openal