OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Public Attributes | Private Member Functions | List of all members
MWSound::Sound_Decoder Struct Referenceabstract

#include <sound_decoder.hpp>

Inheritance diagram for MWSound::Sound_Decoder:
Collaboration diagram for MWSound::Sound_Decoder:

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 size_t getSampleOffset ()=0
 
 Sound_Decoder (const VFS::Manager *resourceMgr)
 
virtual ~Sound_Decoder ()
 

Public Attributes

const VFS::ManagermResourceMgr
 

Private Member Functions

 Sound_Decoder (const Sound_Decoder &rhs)
 
Sound_Decoderoperator= (const Sound_Decoder &rhs)
 

Constructor & Destructor Documentation

MWSound::Sound_Decoder::Sound_Decoder ( const VFS::Manager resourceMgr)
inline
virtual MWSound::Sound_Decoder::~Sound_Decoder ( )
inlinevirtual
MWSound::Sound_Decoder::Sound_Decoder ( const Sound_Decoder rhs)
private

Member Function Documentation

virtual void MWSound::Sound_Decoder::close ( )
pure virtual
virtual void MWSound::Sound_Decoder::getInfo ( int samplerate,
ChannelConfig chans,
SampleType type 
)
pure virtual
virtual std::string MWSound::Sound_Decoder::getName ( )
pure virtual
virtual size_t MWSound::Sound_Decoder::getSampleOffset ( )
pure virtual
virtual void MWSound::Sound_Decoder::open ( const std::string &  fname)
pure virtual
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
void MWSound::Sound_Decoder::readAll ( std::vector< char > &  output)
virtual

Reimplemented in MWSound::FFmpeg_Decoder.

Here is the call graph for this function:

Member Data Documentation

const VFS::Manager* MWSound::Sound_Decoder::mResourceMgr

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