Otclient
14/8/2020
|
#include <soundbuffer.h>
Public Member Functions | |
SoundBuffer () | |
~SoundBuffer () | |
bool | fillBuffer (const SoundFilePtr &soundFile) |
bool | fillBuffer (ALenum sampleFormat, const DataBuffer< char > &data, int size, int rate) |
uint | getBufferId () |
Public Member Functions inherited from stdext::shared_object | |
shared_object () | |
virtual | ~shared_object () |
void | add_ref () |
void | dec_ref () |
refcount_t | ref_count () |
template<typename T > | |
stdext::shared_object_ptr< T > | static_self_cast () |
template<typename T > | |
stdext::shared_object_ptr< T > | dynamic_self_cast () |
template<typename T > | |
stdext::shared_object_ptr< T > | const_self_cast () |
Definition at line 30 of file soundbuffer.h.
SoundBuffer::SoundBuffer | ( | ) |
Definition at line 26 of file soundbuffer.cpp.
SoundBuffer::~SoundBuffer | ( | ) |
Definition at line 33 of file soundbuffer.cpp.
bool SoundBuffer::fillBuffer | ( | ALenum | sampleFormat, |
const DataBuffer< char > & | data, | ||
int | size, | ||
int | rate | ||
) |
bool SoundBuffer::fillBuffer | ( | const SoundFilePtr & | soundFile | ) |
Definition at line 39 of file soundbuffer.cpp.
|
inline |