public class OscilloscopeDispatcher.PlayClip
extends java.lang.Object
Constructor and Description |
---|
PlayClip() |
Modifier and Type | Method and Description |
---|---|
javax.sound.sampled.Clip |
getClip()
Returns the clip so you can control it.
|
void |
playClip(java.io.File file,
int loopCount)
Creates a clip from the passed sound file and plays it.
|
public javax.sound.sampled.Clip getClip()
public void playClip(java.io.File file, int loopCount)
getClip()
to control it.file
- loopCount
-