There is a bug with JavaSound in Java 1.4.1 on WinXP. The close()
method on a stream can sometimes hang!
Here are the bug reports from SUN.
The Sun Java 1.4.2 plugin apparently fixes this problem. You can check your version and download the latest Sun Java Plugin from
here.