From: Eduardo Alberto Hernández Muñoz <coz.eduardo.hernandez@gm...> - 2008-02-29 22:48:46
> if i comment out line 43 in sfx_openal.cpp the trunk will compile and
> run; if I don't it still wile compile, make and wont run
> Error 1b loading SFX: ./wavs/ugh.wav failed because The operation was
> invalid in the current ALUT state
> sfx_openal.cpp:43: failed assertion `LOADED'
It's logical that removing line 43 will stop the program from running;
that's what assert() is for.
What I don't get is how you get an invalid operation under the current
state, since AlutInit() is supposed to be called previously than
alutCreateBufferFromFile() always, which causes error 1b. You should
have gotten something like 'Could not initialize PLIB based sound' or
'Could not initialize ALUT based sound' first.
Meh, I'll just revert definitely to the old code. It's too hard for me
to solve this without being able to reproduce the problem, and solving
it wouldn't give too much of an improvement.
Get latest updates about Open Source Projects, Conferences and News.