OgreAL r125

Phobius

06-07-2009 00:51:52

  1. Bug Fix: A major shutdown bug has been fixed that caused a lot of "Failed to delete buffer" messages to come up. This bug also caused some buffers never to be freed until OgreAL was shut down. The way in which sources are shared between sounds and the way in which buffers are freed from sources has been changed into a much cleaner set of operations such that the presence of a buffer in a source is predictable and immediate on source release. This essentially allows for a much more graceful handling of sound stops, sound destruction, buffer freeing and much, much less of those "cannot be freed: buffer busy" messages.[/*:m][/list:u]