doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | List of all members
idSampleDecoder Class Referenceabstract

#include <snd_local.h>

Inheritance diagram for idSampleDecoder:
idSampleDecoderLocal

Public Member Functions

virtual ~idSampleDecoder (void)
 
virtual void Decode (idSoundSample *sample, int sampleOffset44k, int sampleCount44k, float *dest)=0
 
virtual void ClearDecoder (void)=0
 
virtual idSoundSampleGetSample (void) const =0
 
virtual int GetLastDecodeTime (void) const =0
 

Static Public Member Functions

static void Init (void)
 
static void Shutdown (void)
 
static idSampleDecoderAlloc (void)
 
static void Free (idSampleDecoder *decoder)
 
static int GetNumUsedBlocks (void)
 
static int GetUsedBlockMemory (void)
 

Detailed Description

Definition at line 877 of file snd_local.h.

Constructor & Destructor Documentation

virtual idSampleDecoder::~idSampleDecoder ( void  )
inlinevirtual

Definition at line 886 of file snd_local.h.

Member Function Documentation

idSampleDecoder * idSampleDecoder::Alloc ( void  )
static

Definition at line 332 of file snd_decoder.cpp.

virtual void idSampleDecoder::ClearDecoder ( void  )
pure virtual

Implemented in idSampleDecoderLocal.

virtual void idSampleDecoder::Decode ( idSoundSample sample,
int  sampleOffset44k,
int  sampleCount44k,
float dest 
)
pure virtual

Implemented in idSampleDecoderLocal.

void idSampleDecoder::Free ( idSampleDecoder decoder)
static

Definition at line 343 of file snd_decoder.cpp.

virtual int idSampleDecoder::GetLastDecodeTime ( void  ) const
pure virtual

Implemented in idSampleDecoderLocal.

int idSampleDecoder::GetNumUsedBlocks ( void  )
static

Definition at line 354 of file snd_decoder.cpp.

virtual idSoundSample* idSampleDecoder::GetSample ( void  ) const
pure virtual

Implemented in idSampleDecoderLocal.

int idSampleDecoder::GetUsedBlockMemory ( void  )
static

Definition at line 363 of file snd_decoder.cpp.

void idSampleDecoder::Init ( void  )
static

Definition at line 311 of file snd_decoder.cpp.

void idSampleDecoder::Shutdown ( void  )
static

Definition at line 322 of file snd_decoder.cpp.


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