Let the game engine manage it's own sound scene. This is to fix bug 1415 (Patch...
authorKester Maddock <Christopher.Maddock.1@uni.massey.ac.nz>
Mon, 26 Jul 2004 11:54:10 +0000 (11:54 +0000)
committerKester Maddock <Christopher.Maddock.1@uni.massey.ac.nz>
Mon, 26 Jul 2004 11:54:10 +0000 (11:54 +0000)
commit8a520165016f399002b03ec096be878a18aa3302
tree7bfbfcf0693023854c9d932916f433ed9feebe6b
parentf64c5cacf707d7a1ef36b45ea4f5569a732802f6
Let the game engine manage it's own sound scene.  This is to fix bug 1415 (Patch from Peter den Bak)
http://projects.blender.org/tracker/index.php?func=detail&aid=1415&group_id=9&atid=125
Also release the OpenAL device & context.  These were leaked before, and would cause an assertion.
intern/SoundSystem/intern/SND_DeviceManager.cpp
intern/SoundSystem/openal/SND_OpenALDevice.cpp
intern/SoundSystem/openal/SND_OpenALDevice.h
source/blender/src/editsound.c
source/blender/src/space.c