[Solved]OgreOggSound (OpenAL) -> blue screen of death

Oceax

28-06-2010 00:04:52

I compiled a multi-threaded version of this lib and used it in my program with the following code


OgreOggSound::OgreOggSoundManager *mSoundMgr;
mSoundMgr = OgreOggSound::OgreOggSoundManager::getSingletonPtr();

mSoundMgr->init();
OgreOggSound::OgreOggISound* pBackgroundMusic =
mSoundMgr->createSound("AUDIO", "Asun3.wav", false, true);
pBackgroundMusic->setVolume(0.1);
pBackgroundMusic->play();


The sound plays fine, but when i exit the program or it crashes, the sound card starts to make weird noises forever, and once even gave me blue screen of death.
My program does not shutdown properly but that shouldn't cause this problem? If the program crashes for any reason, then i don't want it to also be able to crash the whole operating system. :shock:

My sound card is Creative SB X-Fi.
I will try non-threaded now, but what can be the reason for this problem?

Oceax

28-06-2010 00:20:22

Using a non-threaded version did not help :cry:

Oceax

28-06-2010 03:07:58

Problem solved.
It was my sound card. changed Device to "Generic Software"

stickymango

29-06-2010 16:50:45

Glad you sorted it :)