#include <device_null.h>
Inheritance diagram for audiere::NullOutputStream:


Public Methods | |
| void ADR_CALL | play () |
| void ADR_CALL | stop () |
| void ADR_CALL | reset () |
| bool ADR_CALL | isPlaying () |
| void ADR_CALL | setRepeat (bool repeat) |
| bool ADR_CALL | getRepeat () |
| void ADR_CALL | setVolume (float volume) |
| float ADR_CALL | getVolume () |
| void ADR_CALL | setPan (float pan) |
| float ADR_CALL | getPan () |
| void ADR_CALL | setPitchShift (float shift) |
| float ADR_CALL | getPitchShift () |
| bool ADR_CALL | isSeekable () |
| int ADR_CALL | getLength () |
| void ADR_CALL | setPosition (int position) |
| int ADR_CALL | getPosition () |
Friends | |
| class | NullAudioDevice |
|
|
Implements audiere::OutputStream. Definition at line 190 of file device_null.cpp. |
|
|
Get current pan. Implements audiere::OutputStream. Definition at line 166 of file device_null.cpp. |
|
|
Get current pitch shift. Defaults to 1.0. Implements audiere::OutputStream. Definition at line 178 of file device_null.cpp. |
|
|
Returns the current position within the sample source.
Implements audiere::OutputStream. Definition at line 204 of file device_null.cpp. |
|
|
Implements audiere::OutputStream. Definition at line 141 of file device_null.cpp. References audiere::RefPtr< NullAudioDevice >::get(), and SYNCHRONIZED. |
|
|
Gets the current volume.
Implements audiere::OutputStream. Definition at line 154 of file device_null.cpp. |
|
|
Implements audiere::OutputStream. Definition at line 128 of file device_null.cpp. |
|
|
Implements audiere::OutputStream. Definition at line 184 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 106 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 120 of file device_null.cpp. References audiere::RefPtr< NullAudioDevice >::get(), and SYNCHRONIZED. Referenced by setPosition(). |
|
|
Set current pan.
Implements audiere::OutputStream. Definition at line 160 of file device_null.cpp. |
|
|
Set current pitch shift.
Implements audiere::OutputStream. Definition at line 172 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 196 of file device_null.cpp. References audiere::RefPtr< NullAudioDevice >::get(), reset(), and SYNCHRONIZED. |
|
|
Set whether the output stream should repeat.
Implements audiere::OutputStream. Definition at line 134 of file device_null.cpp. References audiere::RefPtr< NullAudioDevice >::get(), and SYNCHRONIZED. |
|
|
Sets the stream's volume.
Implements audiere::OutputStream. Definition at line 148 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 114 of file device_null.cpp. |
|
|
Definition at line 90 of file device_null.h. |
1.2.17