Game Development Community

OGG bugs?

by Samme Ng · in Torque Game Engine · 12/18/2005 (6:48 pm) · 1 replies

I am using OGG for all of the sound effect and music. After playing the game for a while, the sound effect become strange.

The original sound of the sound effect is replaced by the same one. Do anyone facing this problem?

#1
12/18/2005 (7:24 pm)
In
engine/audio/audiobuffer.cc
ALuint AudioBuffer::getALBuffer()
{

   //before exiting this routine and after this line, add
   alDeleteBuffers(1, &malBuffer);
   [b]malBuffer = 0;[/b]
   return 0;
}

edit: corrected code block