   OpenAL vs M$ - Windows lose +)
  Hi, i'm very sorry about my bad englishSo, yesterday all the day i wrote a small sound class using OpenAL. I have written it, all worked, i was happy =) But the class was separately from the project.  I has included a class in the basic project, like has got rid of all errors the compiler and linker, I start debugging... Surprise! PC has reboot =)) Well, I have thought, everything happens... I have tried one more time - there was same effect... In the office i have tried on 2 more computers (WinXP & Win2K) - same.I don't know what to think about it, maybe creative labs has included nocuous code in OpenAL? %))So, there is a codeHere i calling my sound:  sound = new pu_sound();  sound->InitializeOpenAL();  sound->FileOpen("back.ogg",2,true,true);  sound->Play();...while(...){  sound->Update();}And here is my sound class: http://wingman.org.ru/sound.cpp.txtany ideas? =)   
One way to make OpenAL to give BSoD is to set the pitch too high or some Not a Number value. It got me several times ... Check also other parameters that you aren't passing rubbish to OpenAL.I think that OpenAl is missing some safety features.Cheers   ;  Have you attempted to run a debugger on it step by step so you can figure out which line is making the computer reboot.   ;  if you are using onboard sound, some of the drivers (sommit with ACxyz in I think, Realtek ones) don't get on so well with OpenAL.  If that's the case, then you should try and get the latest drivers and try your sample again.   ;Quote:if you are using onboard sound, some of the drivers (sommit with ACxyz in I think, Realtek ones) don't get on so well with OpenAL. If that's the case, then you should try and get the latest drivers and try your sample again.Yes, the sound is onboard Realtek, but! When the class was single, without the project, it works. And also sources and binaries from articles about OpenAL are working pretty nice...Quote:Have you attempted to run a debugger on it step by step so you can figure out which line is making the computer reboot.Nop, sorry, but i/m on job, in the office now, and cann't reboot PC many times =)I'll be home in 3-4 hours, then i'll try to debug...Quote:One way to make OpenAL to give BSoD is to set the pitch too high or some Not a Number value. It got me several times ...Check also other parameters that you aren't passing rubbish to OpenAL.I think that OpenAl is missing some safety features.CheersIt works without the projects... And all settings are static defined in the class, noone changes...   ;  The problem I had surfaced when I created and destroyed a device more then once.   