#include <device_ds_buffer.h>
Inheritance diagram for audiere::DSOutputBuffer:


Public Methods | |
| DSOutputBuffer (DSAudioDevice *device, IDirectSoundBuffer *buffer, int length, int frame_size) | |
| ~DSOutputBuffer () | |
| void ADR_CALL | play () |
| void ADR_CALL | stop () |
| bool ADR_CALL | isPlaying () |
| void ADR_CALL | reset () |
| 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 () |
|
||||||||||||||||||||
|
Definition at line 7 of file device_ds_buffer.cpp. |
|
|
Definition at line 28 of file device_ds_buffer.cpp. |
|
|
Implements audiere::OutputStream. Definition at line 122 of file device_ds_buffer.cpp. |
|
|
Get current pan. Implements audiere::OutputStream. Definition at line 96 of file device_ds_buffer.cpp. |
|
|
Get current pitch shift. Defaults to 1.0. Implements audiere::OutputStream. Definition at line 108 of file device_ds_buffer.cpp. |
|
|
Returns the current position within the sample source.
Implements audiere::OutputStream. Definition at line 134 of file device_ds_buffer.cpp. References play(). |
|
|
Implements audiere::OutputStream. Definition at line 70 of file device_ds_buffer.cpp. |
|
|
Gets the current volume.
Implements audiere::OutputStream. Definition at line 83 of file device_ds_buffer.cpp. |
|
|
Implements audiere::OutputStream. Definition at line 46 of file device_ds_buffer.cpp. Referenced by setRepeat(). |
|
|
Implements audiere::OutputStream. Definition at line 116 of file device_ds_buffer.cpp. |
|
|
Start playback of the output stream. If the stream is already playing, this does nothing. Implements audiere::OutputStream. Definition at line 34 of file device_ds_buffer.cpp. Referenced by getPosition(), and setRepeat(). |
|
|
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 54 of file device_ds_buffer.cpp. References setPosition(). |
|
|
Set current pan.
Implements audiere::OutputStream. Definition at line 89 of file device_ds_buffer.cpp. |
|
|
Set current pitch shift.
Implements audiere::OutputStream. Definition at line 102 of file device_ds_buffer.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 128 of file device_ds_buffer.cpp. Referenced by reset(). |
|
|
Set whether the output stream should repeat.
Implements audiere::OutputStream. Definition at line 60 of file device_ds_buffer.cpp. |
|
|
Sets the stream's volume.
Implements audiere::OutputStream. Definition at line 76 of file device_ds_buffer.cpp. |
|
|
Stop playback of the output stream. If the stream is already stopped, this does nothing. Implements audiere::OutputStream. Definition at line 40 of file device_ds_buffer.cpp. |
1.2.17