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

Method Summary
 void loop()
          Plays this audio clip in a continuous loop.
 void play()
          Plays the audio clip starting from the beginning.
 void stop()
          Stops playing this audio clip.
 

Method Detail

play

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


stop

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


loop

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