@Deprecated public class SoundTrack extends SoundEvent
audioNode, path, stream
initialDuration, listeners, loopMode, playState, resuming, speed, time
Constructor and Description |
---|
SoundTrack()
Deprecated.
|
SoundTrack(java.lang.String path)
Deprecated.
creates a sound track from the given resource path
|
SoundTrack(java.lang.String path,
boolean stream)
Deprecated.
creates a sound track from the given resource path
|
SoundTrack(java.lang.String path,
boolean stream,
float initialDuration)
Deprecated.
|
SoundTrack(java.lang.String path,
boolean stream,
float initialDuration,
LoopMode loopMode)
Deprecated.
|
SoundTrack(java.lang.String path,
boolean stream,
LoopMode loopMode)
Deprecated.
|
SoundTrack(java.lang.String path,
float initialDuration)
Deprecated.
|
SoundTrack(java.lang.String path,
float initialDuration,
LoopMode loopMode)
Deprecated.
|
SoundTrack(java.lang.String path,
LoopMode loopMode)
Deprecated.
|
getAudioNode, initEvent, onPause, onPlay, onStop, onUpdate, read, setLoopMode, setTime, write
addListener, dispose, forceStop, getDuration, getInitialDuration, getLoopMode, getPlayState, getSpeed, getTime, internalUpdate, pause, play, removeListener, setInitialDuration, setSpeed, stop
public SoundTrack(java.lang.String path)
path
- the path to an audio file (ie : "Sounds/mySound.wav")public SoundTrack(java.lang.String path, boolean stream)
path
- the path to an audio file (ie : "Sounds/mySound.wav")stream
- true to make the audio data streamedpublic SoundTrack(java.lang.String path, boolean stream, float initialDuration)
public SoundTrack(java.lang.String path, boolean stream, LoopMode loopMode)
public SoundTrack(java.lang.String path, boolean stream, float initialDuration, LoopMode loopMode)
public SoundTrack(java.lang.String path, float initialDuration)
public SoundTrack(java.lang.String path, LoopMode loopMode)
public SoundTrack(java.lang.String path, float initialDuration, LoopMode loopMode)
public SoundTrack()