[Bf-committers] Soundsystem mess

Alexander Ewering blender at instinctive.de
Wed Dec 29 18:30:37 CET 2004


On Thu, 30 Dec 2004, Kester Maddock wrote:

> Hmm, the game engine calls SND_DeviceManager::Subscribe() &
> SND_DeviceManager::Unsubscribe() when loading/unloading games, although that
> should call the SND_SDLDevice constructor/destructor if nothing else is using
> the sound device.
>
> The other options is to add calls from StartKetsjiShell and GPG_Application.

Currently, sound devices never get deinitialized. This seems to be because
Blender itself also wants to be able to play sounds through the game engine
sound system, namely when in the Soundbuttons, and the user hits "Play"...

| alexander ewering              instinctive mediaworks
| ae[@]instinctive[.]de   http://www[.]instinctive[.]de


More information about the Bf-committers mailing list