Buffered part of sound keeps playing after AL.destroy()

Started by Sardtok, August 17, 2006, 00:19:30

Previous topic - Next topic

Sardtok

I was just testing my application and I quit it in the middle of a playing sound.
Now the buffered part of the sound keeps playing.
I destroy AL upon exit, but I don't delete sources and buffers.
Is that the problem, that the sources and buffers still exist, or do I need to stop all the sources, delete sources and buffers and then destroy AL?

Edit: Seems the native jar was still in use after the app was closed too.
igg -- Take me off for great justice?

Matzon

Hmm theoretically, after VM exit nothing should be left.

Sardtok

Woah, that's a nasty bug in my application, no System.exit(0) on clean quits,
only error related quitting has System.exit(-1)

Still, should sound hang like that after calling AL.destroy();
igg -- Take me off for great justice?