org.openstreetmap.josm.tools
Class AudioPlayer.Execute
java.lang.Object
org.openstreetmap.josm.tools.AudioPlayer.Execute
- Enclosing class:
- AudioPlayer
private class AudioPlayer.Execute
- extends java.lang.Object
Passes information from the control thread to the playing thread
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
command
private AudioPlayer.Command command
result
private AudioPlayer.Result result
exception
private java.lang.Exception exception
url
private java.net.URL url
offset
private double offset
speed
private double speed
AudioPlayer.Execute
private AudioPlayer.Execute()
play
protected void play(java.net.URL url,
double offset,
double speed)
throws java.lang.Exception
- Throws:
java.lang.Exception
pause
protected void pause()
throws java.lang.Exception
- Throws:
java.lang.Exception
send
private void send()
throws java.lang.Exception
- Throws:
java.lang.Exception
possiblyInterrupt
private void possiblyInterrupt()
throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
failed
protected void failed(java.lang.Exception e)
ok
protected void ok(AudioPlayer.State newState)
offset
protected double offset()
speed
protected double speed()
url
protected java.net.URL url()
command
protected AudioPlayer.Command command()
JOSM