OpenMW
|
#include <sound_decoder.hpp>
Public Member Functions | |
virtual void | open (const std::string &fname)=0 |
virtual void | close ()=0 |
virtual std::string | getName ()=0 |
virtual void | getInfo (int *samplerate, ChannelConfig *chans, SampleType *type)=0 |
virtual size_t | read (char *buffer, size_t bytes)=0 |
virtual void | readAll (std::vector< char > &output) |
virtual void | rewind ()=0 |
virtual size_t | getSampleOffset ()=0 |
Sound_Decoder () | |
virtual | ~Sound_Decoder () |
Public Attributes | |
Ogre::ResourceGroupManager & | mResourceMgr |
Private Member Functions | |
Sound_Decoder (const Sound_Decoder &rhs) | |
Sound_Decoder & | operator= (const Sound_Decoder &rhs) |
MWSound::Sound_Decoder::Sound_Decoder | ( | ) | [inline] |
virtual MWSound::Sound_Decoder::~Sound_Decoder | ( | ) | [inline, virtual] |
MWSound::Sound_Decoder::Sound_Decoder | ( | const Sound_Decoder & | rhs | ) | [private] |
virtual void MWSound::Sound_Decoder::close | ( | ) | [pure virtual] |
Implemented in MWSound::FFmpeg_Decoder, MWSound::MpgSnd_Decoder, and MWSound::Audiere_Decoder.
virtual void MWSound::Sound_Decoder::getInfo | ( | int * | samplerate, |
ChannelConfig * | chans, | ||
SampleType * | type | ||
) | [pure virtual] |
Implemented in MWSound::FFmpeg_Decoder, MWSound::MpgSnd_Decoder, and MWSound::Audiere_Decoder.
virtual std::string MWSound::Sound_Decoder::getName | ( | ) | [pure virtual] |
Implemented in MWSound::FFmpeg_Decoder, MWSound::MpgSnd_Decoder, and MWSound::Audiere_Decoder.
virtual size_t MWSound::Sound_Decoder::getSampleOffset | ( | ) | [pure virtual] |
Implemented in MWSound::FFmpeg_Decoder, MWSound::MpgSnd_Decoder, and MWSound::Audiere_Decoder.
virtual void MWSound::Sound_Decoder::open | ( | const std::string & | fname | ) | [pure virtual] |
Implemented in MWSound::FFmpeg_Decoder, MWSound::MpgSnd_Decoder, and MWSound::Audiere_Decoder.
Sound_Decoder& MWSound::Sound_Decoder::operator= | ( | const Sound_Decoder & | rhs | ) | [private] |
virtual size_t MWSound::Sound_Decoder::read | ( | char * | buffer, |
size_t | bytes | ||
) | [pure virtual] |
Implemented in MWSound::FFmpeg_Decoder, MWSound::MpgSnd_Decoder, and MWSound::Audiere_Decoder.
void MWSound::Sound_Decoder::readAll | ( | std::vector< char > & | output | ) | [virtual] |
Reimplemented in MWSound::FFmpeg_Decoder, and MWSound::MpgSnd_Decoder.
virtual void MWSound::Sound_Decoder::rewind | ( | ) | [pure virtual] |
Implemented in MWSound::FFmpeg_Decoder, MWSound::MpgSnd_Decoder, and MWSound::Audiere_Decoder.
Ogre::ResourceGroupManager& MWSound::Sound_Decoder::mResourceMgr |