-
Bug
-
Resolution: Fixed
-
P2
-
1.4.2, 5.0, 6
-
b07
-
x86
-
windows_98, windows_2000, windows_xp
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2193496 | 6 | Alex Menkov | P4 | Closed | Duplicate |
FULL PRODUCT VERSION :
ADDITIONAL OS VERSION INFORMATION :
Windows xp
A DESCRIPTION OF THE PROBLEM :
audioclip play method does not work. but loop method does.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
play any .au file using
audioClip ac;
ac = JApplet.newAudioClip(url of au file));
ac.play() // does not work;
ac.loop() works;
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
sound should play
ACTUAL -
sound does not play
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
import java.applet.*;
import java.net.*;
public class Bug{
public static void main(String[] args) {
AudioClip ac=Applet.newAudioClip(Bug.class.getResource("yes.au"));
ac.play();
// ac.loop();
}
}
This I can compile.
I need a "0.au" file in the same directory as the Bug class file.
While running
C:\j2sdk1.4.2_03\jre\bin\java.exe Bug
plays the sound
"C:\Program Files\Java\jre1.5.0\bin\java.exe" Bug
does not play the sound
---------- END SOURCE ----------
Release Regression From : 1.4.2
The above release value was the last known release where this
bug was known to work. Since then there has been a regression.
(Incident Review ID: 281874)
======================================================================
###@###.### 2004-07-02
- backported by
-
JDK-2193496 REGRESSION: play method audioclip
- Closed
- duplicates
-
JDK-6186076 REGRESSION:Doesn't play multiple clips repeatedly after invoking stop(), setFrame..start()
- Closed
- relates to
-
JDK-6251460 REGRESSION: BUG:5070730 is NOT fixed - short sounds do not play.
- Resolved
-
JDK-4735740 Java Sound keeps a console app from exiting because of non-daemon event thread
- Resolved
-
JDK-6233477 Regression: java.applet.Applet.play() method is not working on Tiger U2 B07. Sound will be crumpled.
- Closed
-
JDK-4365713 JavaSound EventDispatcher thread never exits
- Closed
-
JDK-4435394 Sound API prevent JVM from exiting
- Closed