AL lib: ReleaseALC: 1 device not closed

Hi!



When our game is closed…

LOG:

INFO: Keyboard destroyed.

18.03.2012 23:13:35 com.jme3.system.lwjgl.LwjglAbstractDisplay deinitInThread

INFO: Display destroyed.

AL lib: ReleaseALC: 1 device not closed

BUILD SUCCESSFUL (total time: 1 minute 8 seconds)





“AL lib: ReleaseALC: 1 device not closed” - The Audio device is not closed when the game is closed. It makes some problems with flickering of sound if I open a game again.



It happens only with our applicatin “Rise of Mutants”. https://code.google.com/p/rise-of-mutants/

We use our own Application class: https://code.google.com/p/rise-of-mutants/source/browse/#hg%2Fdev%2Ftrunk%2FTechDemo%2Fsrc%2Fcom%2Fbigboots



Can anybody help to solve this issue? How to close OpenAL when the game is closed?



Thanks.

I have this problem as well and it was also raised earlier in this thread: http://hub.jmonkeyengine.org/groups/general-2/forum/topic/strange-to-me-error-on-log/

As players are maybe not that likely to start a game multiple times in one session, it’s not a huge problem to our project at least, but it sure is an annoyance while developing, having to terminate those lingering processes or have stuttering sound.

hm… interesing… I use linux… so this is a real issue.



Interesting…

http://stackoverflow.com/questions/9549759/openal-wavedata-error

http://slick.javaunlimited.net/viewtopic.php?f=1&t=4581

http://lwjgl.org/forum/index.php/topic,4311.0.html