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.
- http://developer.java.sun.com/developer/bugParade/bugs/4383457.html
- http://developer.java.sun.com/developer/bugParade/bugs/4635534.html