java.applet

Interface AudioClip

public interface AudioClip

This interface provides a simple mechanism for playing audio clips. If multiple clips are played at once, the browser combines them into a composite clip.

Since: 1.0

UNKNOWN: updated to 1.4

Method Summary
voidloop()
Plays this audio clip in a continuous loop.
voidplay()
Plays the audio clip starting from the beginning.
voidstop()
Stops playing this audio clip.

Method Detail

loop

public void loop()
Plays this audio clip in a continuous loop.

play

public void play()
Plays the audio clip starting from the beginning.

stop

public void stop()
Stops playing this audio clip. There is no mechanism for restarting at the point where the clip is stopped.