#include <device_oal.h>
Inheritance diagram for audiere::OALOutputStream:


Public Methods | |
| void | play () |
| void | stop () |
| bool | isPlaying () |
| void | reset () |
| 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 | OALAudioDevice |
|
|
Implements audiere::OutputStream. Definition at line 400 of file device_oal.cpp. |
|
|
Get current pan. Implements audiere::OutputStream. Definition at line 373 of file device_oal.cpp. |
|
|
Get current pitch shift. Defaults to 1.0. Implements audiere::OutputStream. Definition at line 386 of file device_oal.cpp. |
|
|
Returns the current position within the sample source.
Implements audiere::OutputStream. Definition at line 413 of file device_oal.cpp. |
|
|
Implements audiere::OutputStream. Definition at line 347 of file device_oal.cpp. |
|
|
Gets the current volume.
Implements audiere::OutputStream. Definition at line 361 of file device_oal.cpp. |
|
|
Implements audiere::OutputStream. Definition at line 320 of file device_oal.cpp. Referenced by reset(). |
|
|
Implements audiere::OutputStream. Definition at line 393 of file device_oal.cpp. |
|
|
Start playback of the output stream. If the stream is already playing, this does nothing. Implements audiere::OutputStream. Definition at line 306 of file device_oal.cpp. Referenced by reset(). |
|
|
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 326 of file device_oal.cpp. |
|
|
Set current pan.
Implements audiere::OutputStream. Definition at line 367 of file device_oal.cpp. |
|
|
Set current pitch shift.
Implements audiere::OutputStream. Definition at line 380 of file device_oal.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 407 of file device_oal.cpp. |
|
|
Set whether the output stream should repeat.
Implements audiere::OutputStream. Definition at line 341 of file device_oal.cpp. |
|
|
Sets the stream's volume.
Implements audiere::OutputStream. Definition at line 354 of file device_oal.cpp. |
|
|
Stop playback of the output stream. If the stream is already stopped, this does nothing. Implements audiere::OutputStream. Definition at line 313 of file device_oal.cpp. Referenced by reset(). |
|
|
Definition at line 100 of file device_oal.h. |
1.2.17