[3464] in java-interest
Audio in a standalone application
daemon@ATHENA.MIT.EDU (Robert W Armstrong)
Mon Nov 13 20:52:47 1995
Date: Mon, 13 Nov 1995 17:32:38 -0500 (EST)
From: Robert W Armstrong <robert+@andrew.cmu.edu>
To: java-interest@java.sun.com
I've been trying to play audio clips in a standalone Java application
with little success. It seems the only possible way to do this without
using anything in the sun.* tree would be to import java.applet.* and
then do something like:
play(new URL("http://site.com/soundfile.au"));
or
AudioClip clip = new AudioClip;
clip = getAudioClip(new URL("http://site.com/soundfile.au"));
clip.play();
Neither of these work, I get errors that Java cannot find getAudioClip()
and play(). How might I go about doing this? Thanks.
robert
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com