[Bf-committers] Soundsystem mess

Kester Maddock Christopher.Maddock.1 at uni.massey.ac.nz
Thu Dec 30 01:05:14 CET 2004


On Thursday 30 December 2004 06:30, Alexander Ewering wrote:
> 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"...

No, it deinitialises before the game engine is started in space.c. (This used 
to confuse old OpenAL versions, which didn't handle being restarted properly)

Kester
-- 
Your lover will never wish to leave you.


More information about the Bf-committers mailing list