#include <device_null.h>
Inheritance diagram for audiere::NullOutputStream:
Public Member Functions | |
void | play () |
void | stop () |
void | reset () |
bool | isPlaying () |
void | setRepeat (bool repeat) |
bool | getRepeat () |
void | setVolume (float volume) |
float | getVolume () |
void | setPan (float pan) |
float | getPan () |
void | setPitchShift (float shift) |
float | getPitchShift () |
bool | isSeekable () |
int | getLength () |
void | setPosition (int position) |
int | getPosition () |
Friends | |
class | NullAudioDevice |
Definition at line 43 of file device_null.h.
|
Implements audiere::OutputStream. Definition at line 196 of file device_null.cpp. |
|
Get current pan. Implements audiere::OutputStream. Definition at line 172 of file device_null.cpp. |
|
Get current pitch shift. Defaults to 1.0. Implements audiere::OutputStream. Definition at line 184 of file device_null.cpp. |
|
Returns the current position within the sample source.
Implements audiere::OutputStream. Definition at line 210 of file device_null.cpp. |
|
Implements audiere::OutputStream. Definition at line 147 of file device_null.cpp. References audiere::RefPtr< T >::get(), and SYNCHRONIZED. |
|
Gets the current volume.
Implements audiere::OutputStream. Definition at line 160 of file device_null.cpp. |
|
Implements audiere::OutputStream. Definition at line 134 of file device_null.cpp. |
|
Implements audiere::OutputStream. Definition at line 190 of file device_null.cpp. |
|
Start playback of the output stream. If the stream is already playing, this does nothing. Implements audiere::OutputStream. Definition at line 112 of file device_null.cpp. References ADR_GUARD. |
|
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. Implements audiere::OutputStream. Definition at line 126 of file device_null.cpp. References audiere::RefPtr< T >::get(), and SYNCHRONIZED. Referenced by setPosition(). |
|
Set current pan.
Implements audiere::OutputStream. Definition at line 166 of file device_null.cpp. |
|
Set current pitch shift.
Implements audiere::OutputStream. Definition at line 178 of file device_null.cpp. |
|
Sets the current position within the sample source. If the stream is not seekable, this method does nothing.
Implements audiere::OutputStream. Definition at line 202 of file device_null.cpp. References audiere::RefPtr< T >::get(), reset(), and SYNCHRONIZED. |
|
Set whether the output stream should repeat.
Implements audiere::OutputStream. Definition at line 140 of file device_null.cpp. References audiere::RefPtr< T >::get(), and SYNCHRONIZED. |
|
Sets the stream's volume.
Implements audiere::OutputStream. Definition at line 154 of file device_null.cpp. |
|
Stop playback of the output stream. If the stream is already stopped, this does nothing. Implements audiere::OutputStream. Definition at line 120 of file device_null.cpp. |
|
Definition at line 89 of file device_null.h. |