LWJGL
May 25, 2013, 14:33:06 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: LWJGL is now using GitHub
 
   Home   Help Search Login Register  



Pages: [1]
  Print  
Author Topic: Buffered part of sound keeps playing after AL.destroy()  (Read 3285 times)
Sardtok
Newbie
*
Posts: 39


WWW
« on: August 16, 2006, 17:19:30 »

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.
Logged

igg -- Take me off for great justice?
Matzon
Administrator
Demigod
*****
Posts: 2239



« Reply #1 on: August 16, 2006, 22:23:26 »

Hmm theoretically, after VM exit nothing should be left.
Logged

Sardtok
Newbie
*
Posts: 39


WWW
« Reply #2 on: August 17, 2006, 00:02:23 »

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();
Logged

igg -- Take me off for great justice?
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
SMFAds for Free Forums
Valid XHTML 1.0! Valid CSS!