taz0k
04-10-2008 16:12:49
Hello
I really could use some help. In my game I have a number of people. On each person is a scenenode and I create & attach a Sound object loaded with one specific wav file (sound.wav). The Sound is intended to play when a person throws a ball (which they do at random intervals).
When I only have one person (person1) in the world, it is possible to hear the Sound when it's "play" method is called. However when I add another person (person2), two things happen:
1) I can not hear anything when person2's Sound's "play" method is called.
2) The game crashes with the following exception when person1's sound's play method is called.
OGRE EXCEPTION(40963:): Could not load buffer data: OpenAL Error: The value pointer given is not valid in OgreAL::WavSound::loadBuffers
Please help. Any ideas are appreciated. Thank you for your time.
I really could use some help. In my game I have a number of people. On each person is a scenenode and I create & attach a Sound object loaded with one specific wav file (sound.wav). The Sound is intended to play when a person throws a ball (which they do at random intervals).
When I only have one person (person1) in the world, it is possible to hear the Sound when it's "play" method is called. However when I add another person (person2), two things happen:
1) I can not hear anything when person2's Sound's "play" method is called.
2) The game crashes with the following exception when person1's sound's play method is called.
OGRE EXCEPTION(40963:): Could not load buffer data: OpenAL Error: The value pointer given is not valid in OgreAL::WavSound::loadBuffers
Please help. Any ideas are appreciated. Thank you for your time.