|
Otclient 1.0
14/8/2020
|
#include <soundfile.h>


Public Member Functions | |
| SoundFile (const FileStreamPtr &fileStream) | |
| virtual | ~SoundFile () |
| virtual int | read (void *, int) |
| virtual void | reset () |
| 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 () |
Static Public Member Functions | |
| static SoundFilePtr | loadSoundFile (const std::string &filename) |
Protected Attributes | |
| FileStreamPtr | m_file |
| int | m_channels |
| int | m_rate |
| int | m_bps |
| int | m_size |
Definition at line 29 of file soundfile.h.
| SoundFile::SoundFile | ( | const FileStreamPtr & | fileStream | ) |
Definition at line 27 of file soundfile.cpp.
|
inlinevirtual |
Definition at line 33 of file soundfile.h.
|
inline |
|
inline |
Definition at line 44 of file soundfile.h.
|
inline |
Definition at line 42 of file soundfile.h.
|
inline |
Definition at line 46 of file soundfile.h.


|
inline |
| ALenum SoundFile::getSampleFormat | ( | ) |
|
inline |
|
static |
Definition at line 32 of file soundfile.cpp.


|
inlinevirtual |
Reimplemented in OggSoundFile.
Definition at line 36 of file soundfile.h.

|
inlinevirtual |
Reimplemented in OggSoundFile.
Definition at line 37 of file soundfile.h.

|
protected |
Definition at line 52 of file soundfile.h.
|
protected |
Definition at line 50 of file soundfile.h.
|
protected |
Definition at line 49 of file soundfile.h.
|
protected |
Definition at line 51 of file soundfile.h.
|
protected |
Definition at line 53 of file soundfile.h.