#include <audiere.h>
Inheritance diagram for audiere::MIDIStream:
Public Member Functions | |
virtual void | play ()=0 |
virtual void | stop ()=0 |
virtual void | pause ()=0 |
virtual bool | isPlaying ()=0 |
virtual int | getLength ()=0 |
virtual int | getPosition ()=0 |
virtual void | setPosition (int position)=0 |
virtual bool | getRepeat ()=0 |
virtual void | setRepeat (bool repeat)=0 |
Protected Member Functions | |
virtual | ~MIDIStream () |
Definition at line 974 of file audiere.h.
|
|
|
Returns the length of the song in milliseconds.
|
|
Returns the current position of the song in milliseconds.
|
|
Returns true if this song is set to repeat.
|
|
Returns true if the song is currently playing, false otherwise.
|
|
Stops playback of the song and does not change its current position. A subsequent play() will resume the song where it left off. |
|
Begins playback of the song and does nothing if the song is already playing. |
|
Sets the current position of the song.
|
|
Sets whether the song should repeat on completion. Defaults to false.
|
|
Stops playback of the song and seeks to the beginning.
|