Otclient
14/8/2020
|
#include <oggsoundfile.h>
Public Member Functions | |
OggSoundFile (const FileStreamPtr &fileStream) | |
virtual | ~OggSoundFile () |
bool | prepareOgg () |
int | read (void *buffer, int bufferSize) |
void | reset () |
Public Member Functions inherited from SoundFile | |
SoundFile (const FileStreamPtr &fileStream) | |
virtual | ~SoundFile () |
bool | eof () |
ALenum | getSampleFormat () |
int | getChannels () |
int | getRate () |
int | getBps () |
int | getSize () |
std::string | getName () |
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 () |
Additional Inherited Members | |
Static Public Member Functions inherited from SoundFile | |
static SoundFilePtr | loadSoundFile (const std::string &filename) |
Protected Attributes inherited from SoundFile | |
FileStreamPtr | m_file |
int | m_channels |
int | m_rate |
int | m_bps |
int | m_size |
Definition at line 30 of file oggsoundfile.h.
OggSoundFile::OggSoundFile | ( | const FileStreamPtr & | fileStream | ) |
Definition at line 25 of file oggsoundfile.cpp.
|
virtual |
Definition at line 30 of file oggsoundfile.cpp.
bool OggSoundFile::prepareOgg | ( | ) |
|
virtual |
Reimplemented from SoundFile.
Definition at line 54 of file oggsoundfile.cpp.
|
virtual |
Reimplemented from SoundFile.
Definition at line 74 of file oggsoundfile.cpp.