Otclient  14/8/2020
OggSoundFile Class Reference

#include <oggsoundfile.h>

Inheritance diagram for OggSoundFile:
Collaboration diagram for OggSoundFile:

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
 

Detailed Description

Definition at line 30 of file oggsoundfile.h.

Constructor & Destructor Documentation

◆ OggSoundFile()

OggSoundFile::OggSoundFile ( const FileStreamPtr fileStream)

Definition at line 25 of file oggsoundfile.cpp.

◆ ~OggSoundFile()

OggSoundFile::~OggSoundFile ( )
virtual

Definition at line 30 of file oggsoundfile.cpp.

Member Function Documentation

◆ prepareOgg()

bool OggSoundFile::prepareOgg ( )

Definition at line 35 of file oggsoundfile.cpp.

Here is the call graph for this function:

◆ read()

int OggSoundFile::read ( void *  buffer,
int  bufferSize 
)
virtual

Reimplemented from SoundFile.

Definition at line 54 of file oggsoundfile.cpp.

◆ reset()

void OggSoundFile::reset ( )
virtual

Reimplemented from SoundFile.

Definition at line 74 of file oggsoundfile.cpp.


The documentation for this class was generated from the following files: