Interface Track
access this type via: io.audio.Track (provides, requires or uses)
Audio track object. This interface wraps an audio source data instance, and allows you to control elements of the track's playback of that audio source.
Functions
Track(storeSource src)
void setFinishEvent(bool on)
void setVolume(int volume)
int getLengthFrames()
void setPosFrame(int frame)
int getPosFrame()
int getLengthMS()
void setPosMS(int ms)
int getPosMS()
Track(storeSource src)
void setFinishEvent(bool on)
Receive event notifications (through the audio output device) on which this track finishes playing. Default is false.
void setVolume(int volume)
Set the volume level for this track, which must be between 0 and 100.
int getLengthFrames()
void setPosFrame(int frame)
int getPosFrame()
int getLengthMS()
void setPosMS(int ms)
int getPosMS()