-
Enhancement
-
Resolution: Won't Fix
-
P4
-
None
-
1.2.0
-
generic
-
generic
Name: rm29839 Date: 01/21/98
If I write a sound file to a JAR, I can't play it back. Note that I can't serialize it, but I can place it directly in the JAR file.
However, since no URL can point inside a JAR file, and the only way to access sounds is via getAudioClip(URL, [name])
I can't play a sound in an applet derived from a JAR.
The API needs an equivalent to Toolkit.createImage(byte[] imagedata) that would do for audio what that call does for GIF and JPEG.
Please create Toolkit.createAudioClip(byte[] data)
so we can create applications with embedded sounds.
(Review ID: 23518)
======================================================================
- relates to
-
JDK-4218569 RFE: Need Toolkit.createAudioClip(byte[]) method
-
- Closed
-