Duplicate :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
Name: gm110360 Date: 07/01/2004 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
|