JDK-4811185 : AudioClip doesn't restart Windows sound correctly.
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.sound
  • Affected Version: 1.3.1_04
  • Priority: P3
  • Status: Closed
  • Resolution: Cannot Reproduce
  • OS: windows_nt
  • CPU: x86
  • Submitted: 2003-01-31
  • Updated: 2005-09-20
  • Resolved: 2005-09-20
Related Reports
Relates :  
Relates :  
Description
Sound is disabled even if java.applet.AudioClip.loop is called 
in Java Applet.
 
 This happens with the following steps. JDK 1.3.1 is used.
 1. Get java applet to sound on Windows with AudioClip.
 2. Then stop the sound with AudioClip.stop().
 3. Leave the system for about 4 hours without do anything.
    (java applet is still alive during this.)
 4. Get the applet to sound on windows again with AudioClip.

 At the step 4, AudioClip doesn't make any sound. The sound
seems to be disabled.

Comments
WORK AROUND Use Java 2 v.1.4.0 or later
11-06-2004

PUBLIC COMMENTS AudioClip doesn't work in an applet after a period of inactivity.
10-06-2004

EVALUATION ###@###.### 2003-02-05 Serious problem. Will take some time to reproduce. It is probably related to the following bugs: 4345944: An open Synthesizer or Sequencer will crash in 3hrs, 22min The bug also applies to open audio lines. Applets in 1.3.1 keep the audio line open: 4302884: Audio device is not released when AudioClip stops The first bug is fixed in 1.4.0, the second is fixed in current 1.4.2 builds. ###@###.### 2003-02-19 Made some tests on Windows 98 (no NT system currently accessible, either): 1.3.1: system crashed completely after some hours 1.4.0, 1.4.1, 1.4.2beta: no problems encountered
19-02-2003