#include <SoundBuffer.h>
Public Member Functions | |
| IDirectSoundBuffer8 * | GetInterfaceEx () |
| const IDirectSoundBuffer8 * | GetInterfaceEx () const |
| virtual ISoundControl * | GetSoundControl () |
Protected Member Functions | |
| SoundBuffer (SoundBufferManager *manager) | |
| virtual | ~SoundBuffer (void) |
| errorcodes::ErrorCode | _QueryBufferInterfaceEx () |
| errorcodes::ErrorCode | _ReleaseBufferInterfaceEx () |
Protected Attributes | |
| IDirectSoundBuffer8 * | _ds_buffer_interface_ex |
| WAVEFORMATEX | _wave_format |
| char * | _soft_buffer |
| unsigned | _buffer_size |
| ISoundControl * | _sound_control |
The base class for sound buffers.
| xl7::directsound::buffers::SoundBuffer::SoundBuffer | ( | SoundBufferManager * | manager | ) | [protected] |
Explicit constructor.
| xl7::directsound::buffers::SoundBuffer::~SoundBuffer | ( | void | ) | [protected, virtual] |
Destructor.
| errorcodes::ErrorCode xl7::directsound::buffers::SoundBuffer::_QueryBufferInterfaceEx | ( | ) | [protected] |
Queries the "extended" DirectSound buffer interface. The "normal" DirectSound buffer interface created by _CreateBufferInterface (see class BaseBuffer) will be released.
| errorcodes::ErrorCode xl7::directsound::buffers::SoundBuffer::_ReleaseBufferInterfaceEx | ( | ) | [protected] |
Releases the "extended" DirectSound buffer interface.
| const IDirectSoundBuffer8* xl7::directsound::buffers::SoundBuffer::GetInterfaceEx | ( | ) | const [inline] |
Returns the "extended" DirectSound buffer interface.
| IDirectSoundBuffer8* xl7::directsound::buffers::SoundBuffer::GetInterfaceEx | ( | ) | [inline] |
Returns the "extended" DirectSound buffer interface.
| ISoundControl * xl7::directsound::buffers::SoundBuffer::GetSoundControl | ( | ) | [virtual] |
Returns the sound control object to play, pause and stop the sound buffer as well as to set and get specific sound settings.
Reimplemented in xl7::directsound::buffers::CloneBuffer.
unsigned xl7::directsound::buffers::SoundBuffer::_buffer_size [protected] |
The size of the audio data buffer.
IDirectSoundBuffer8* xl7::directsound::buffers::SoundBuffer::_ds_buffer_interface_ex [protected] |
The "extended" DirectSound buffer interface.
char* xl7::directsound::buffers::SoundBuffer::_soft_buffer [protected] |
The source audio data buffer.
The sound control object to play, pause and stop the sound buffer as well as to set and get specific sound settings.
WAVEFORMATEX xl7::directsound::buffers::SoundBuffer::_wave_format [protected] |
The format of the waveform-audio data.
1.7.1