Deprecated
for removal since 9.
The Applet API is deprecated, no replacement.
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.
Modifier and Type | Method and Description |
---|---|
public void | |
public void | |
public void |
loop | back to summary |
---|---|
public void loop() Starts playing this audio clip in a loop. |
play | back to summary |
---|---|
public void play() Starts playing this audio clip. Each time this method is called, the clip is restarted from the beginning. |
stop | back to summary |
---|---|
public void stop() Stops playing this audio clip. |