Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

java.applet
Interface AudioClip  view AudioClip download AudioClip.java

All Known Implementing Classes:
Applet.URLAudioClip

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

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.


loop

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