#include <audiere.h>
Public Member Functions | |
| virtual void ADR_CALL | play ()=0 |
| virtual void ADR_CALL | stop ()=0 |
| virtual bool ADR_CALL | isPlaying ()=0 |
| virtual void ADR_CALL | reset ()=0 |
| virtual void ADR_CALL | setRepeat (bool repeat)=0 |
| virtual bool ADR_CALL | getRepeat ()=0 |
| virtual void ADR_CALL | setVolume (float volume)=0 |
| virtual float ADR_CALL | getVolume ()=0 |
| virtual void ADR_CALL | setPan (float pan)=0 |
| virtual float ADR_CALL | getPan ()=0 |
| virtual void ADR_CALL | setPitchShift (float shift)=0 |
| virtual float ADR_CALL | getPitchShift ()=0 |
| virtual bool ADR_CALL | isSeekable ()=0 |
| virtual int ADR_CALL | getLength ()=0 |
| virtual void ADR_CALL | setPosition (int position)=0 |
| virtual int ADR_CALL | getPosition ()=0 |
Each output stream can be independently played and stopped. They also each have a volume from 0.0 (silence) to 1.0 (maximum volume).
|
|
|
|
|
Get current pan. |
|
|
Get current pitch shift. Defaults to 1.0. |
|
|
Returns the current position within the sample source.
|
|
|
|
|
|
Gets the current volume.
|
|
|
|
|
|
|
|
|
Start playback of the output stream. If the stream is already playing, this does nothing. |
|
|
Reset the sample source or buffer to the beginning. On seekable streams, this operation is equivalent to setPosition(0). On some output streams, this operation can be moderately slow, as up to several seconds of PCM buffer must be refilled. |
|
|
Set current pan.
|
|
|
Set current pitch shift.
|
|
|
Sets the current position within the sample source. If the stream is not seekable, this method does nothing.
|
|
|
Set whether the output stream should repeat.
|
|
|
Sets the stream's volume.
|
|
|
Stop playback of the output stream. If the stream is already stopped, this does nothing. |
1.4.6-NO