JDK-4394767 : Audio Device conflicts between .au playback and other programs (ie, WINAMP)
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.sound
  • Affected Version: 1.3.0,1.4.1
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux,windows_98
  • CPU: x86
  • Submitted: 2000-12-04
  • Updated: 2003-10-01
  • Resolved: 2003-10-01
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
5.0 tigerFixed
Description

Name: skT45625			Date: 12/04/2000


java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)



For the past few years my code has been plagued by an unfixable freezing error
caused by the 1.1 AudioClip functions. I am able to reproduce the problem with
the Java Tutorial's sound example at:

http://java.sun.com/docs/books/tutorial/applet/appletsonly/sound.html

I started the train whistle loop, then I pressed PLAY on my WINAMP window to
start a song. Of course, it won't play because Java has control of the sound
device. So I quickly press STOP on the train whistle and my WINAMP song starts.
Then I press PLAY on the train whistle again and CRASHOLA. I repeated the
experiment 4 times with reboots, and sometimes I get the dreaded blue screen
and sometimes a straight computer freeze. If you can't get it to crash in the
exact sequence I describe, try playing around with the sound buttons on the
applet while occasionally starting/stopping your WINAMP song.

NOTE: I have downloaded the latest microsoft patch (from oct 28, 2000) which is
supposed to have fixed the java .au AudioClip bugs.
(Review ID: 113209) 
======================================================================

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: tiger FIXED IN: tiger INTEGRATED IN: tiger
14-06-2004

WORK AROUND Name: skT45625 Date: 12/04/2000 Loop a silent soundclip in background of game or application as long as it is running. ======================================================================
11-06-2004

PUBLIC COMMENTS Audio Device conflicts between .au playback and other programs (ie, WINAMP)
10-06-2004

EVALUATION ###@###.### 2001-10-01 It should be verified that this bug is reproducable, that it does not apply to Microsoft VM and that it is not due to the soundcard's drivers. ###@###.### 2002-10-31 No time to look into this in the mantis time frame. Committed to Tiger. ###@###.### 2003-10-01 Is fixed now, with - DirectAudioDevices available on all platforms - applet.AudioClip closes the device automatically
01-10-2003