public static final class DummyAudioEngine.EmptySoundSource extends Object implements SoundSource
| Constructor and Description |
|---|
EmptySoundSource() |
| Modifier and Type | Method and Description |
|---|---|
void |
addEndPlayListener(EndPlayListener listener) |
boolean |
isPlaying() |
void |
loop()
The sound will be played in loop until stop is called.
|
void |
play()
Start playing the source associated to this object.
|
void |
rewind()
Reset the sound at its beginning.
|
void |
setPosition(be.yildiz.common.vector.Point3D pos)
Set the sound position in the 3d space.
|
void |
stop()
Stop playing this source.
|
public void play()
SoundSourceplay in interface SoundSourcepublic void addEndPlayListener(EndPlayListener listener)
addEndPlayListener in interface SoundSourcepublic void stop()
SoundSourcestop in interface SoundSourcepublic boolean isPlaying()
isPlaying in interface SoundSourcepublic void setPosition(be.yildiz.common.vector.Point3D pos)
SoundSourcesetPosition in interface SoundSourcepos - New position.public void loop()
SoundSourceloop in interface SoundSourcepublic void rewind()
SoundSourcerewind in interface SoundSourceCopyright © 2014–2017. All rights reserved.