sound clip cleanup neccessary?

hi,

question: is it neccessary to cleanup sound resources when an application shuts down or is this done automatically?

i use javax.sound.sampled.Clip’s

when i perform clip.stop(); and clip.close(); before shutdown some nasty clicks are produced. this does not happen if i just exit the application without “cleaning up”.

Cleanup is performed automatically if the app exits correctly. So there is no reason to worry about anything. However, it doesn’t seem to work nicely with applets… I don’t make applets therefore I don’t know much about them. They have an destroy hook, which should be used then methinks.