Hello,
My applet generates a sequence of bytes which are in
.au audio file format. To play the sound I need to pass a URL object to
(applet).getAudioClip(URL url), so I need someshow to present my byte array as URL. With an application this woun't be any problem - write bytes to a file and pass this file's URL to
getAudioClip(URL url), but this is an applet.
byte[] au_bites = createAuBytes();
// here I need these bytes as URL
getAudioClip(URL url).play();
Could you pls suggest me a solution?