Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4190660

playing audio disables sound on NT

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.2.0
    • client-libs
    • x86
    • windows_95, windows_nt



      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)
      ======================================================================

            fbomerssunw Florian Bomers (Inactive)
            kkytlesunw Kara Kytle (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: