OgreAL r123

Phobius

04-07-2009 12:08:40

  1. Bug Fix: Fixed a rather critical bug where a sound gets deleted that is the last to use a buffer, and gets queued in the deletion queue. Just after that, but before the next update, a sound is created that uses the buffer. Sure enough, it piggy backs off of the existing buffer but does not yet queue it into the source; that happens at play(). Because the new sound did not queue the buffers, it is considered unused and at the next frame update the deletion of the buffer is successful. When the new sound attempts to be played, the buffer is no longer valid and an error ensues. This resulted in a "Failed to bind" error. [/*:m][/list:u]