Top Description Methods
java.applet

public Interface AudioClip

Known Direct Implementers
com.sun.media.sound.JavaSoundAudioClip
Annotations
@Deprecated
since:9
forRemoval:true

Deprecated

for removal since 9.

The Applet API is deprecated, no replacement.

The AudioClip interface is a simple abstraction for playing a sound clip. Multiple AudioClip items can be playing at the same time, and the resulting sound is mixed together to produce a composite.
Author
Arthur van Hoff
Since
1.0

Method Summary

Modifier and TypeMethod and Description
public void
loop()

Starts playing this audio clip in a loop.

public void
play()

Starts playing this audio clip.

public void
stop()

Stops playing this audio clip.

Method Detail

loopback to summary
public void loop()

Starts playing this audio clip in a loop.

playback to summary
public void play()

Starts playing this audio clip. Each time this method is called, the clip is restarted from the beginning.

stopback to summary
public void stop()

Stops playing this audio clip.