JDK-4190660 : playing audio disables sound on NT
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.sound
  • Affected Version: 1.2.0
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_95,windows_nt
  • CPU: x86
  • Submitted: 1998-11-17
  • Updated: 2002-05-15
  • Resolved: 2002-05-15
Related Reports
Duplicate :  
Description

Name: kk38543			Date: 11/17/98


occassionally, playing audio on NT
disables the sound.  that is,
no other device can get to the sound
device.  the only way to fix
this is to remote. 
This is a real pain.
Here's a sample program.



import java.applet.*;
import java.net.*;
public class LoadAudioApp {
    public static void main(String[] args) {
        try {
            URL url = new URL(null, "file:///d:/touchdown.au");
            AudioClip ac = Applet.newAudioClip(url);
            ac.play();
        } catch (MalformedURLException e) {
           e.printStackTrace();
        }
    }
}
(Review ID: 42759)
======================================================================