doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
idSampleDecoderLocal Class Reference
Inheritance diagram for idSampleDecoderLocal:
idSampleDecoder

Public Member Functions

virtual void Decode (idSoundSample *sample, int sampleOffset44k, int sampleCount44k, float *dest)
 
virtual void ClearDecoder (void)
 
virtual idSoundSampleGetSample (void) const
 
virtual int GetLastDecodeTime (void) const
 
void Clear (void)
 
int DecodePCM (idSoundSample *sample, int sampleOffset44k, int sampleCount44k, float *dest)
 
int DecodeOGG (idSoundSample *sample, int sampleOffset44k, int sampleCount44k, float *dest)
 
- Public Member Functions inherited from idSampleDecoder
virtual ~idSampleDecoder (void)
 

Private Attributes

bool failed
 
int lastFormat
 
idSoundSamplelastSample
 
int lastSampleOffset
 
int lastDecodeTime
 
idFile_Memory file
 
OggVorbis_File ogg
 

Additional Inherited Members

- Static Public Member Functions inherited from idSampleDecoder
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 282 of file snd_decoder.cpp.

Member Function Documentation

void idSampleDecoderLocal::Clear ( void  )

Definition at line 372 of file snd_decoder.cpp.

void idSampleDecoderLocal::ClearDecoder ( void  )
virtual

Implements idSampleDecoder.

Definition at line 385 of file snd_decoder.cpp.

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

Implements idSampleDecoder.

Definition at line 427 of file snd_decoder.cpp.

int idSampleDecoderLocal::DecodeOGG ( idSoundSample sample,
int  sampleOffset44k,
int  sampleCount44k,
float dest 
)

Definition at line 510 of file snd_decoder.cpp.

int idSampleDecoderLocal::DecodePCM ( idSoundSample sample,
int  sampleOffset44k,
int  sampleCount44k,
float dest 
)

Definition at line 471 of file snd_decoder.cpp.

int idSampleDecoderLocal::GetLastDecodeTime ( void  ) const
virtual

Implements idSampleDecoder.

Definition at line 418 of file snd_decoder.cpp.

idSoundSample * idSampleDecoderLocal::GetSample ( void  ) const
virtual

Implements idSampleDecoder.

Definition at line 409 of file snd_decoder.cpp.

Member Data Documentation

bool idSampleDecoderLocal::failed
private

Definition at line 294 of file snd_decoder.cpp.

idFile_Memory idSampleDecoderLocal::file
private

Definition at line 299 of file snd_decoder.cpp.

int idSampleDecoderLocal::lastDecodeTime
private

Definition at line 298 of file snd_decoder.cpp.

int idSampleDecoderLocal::lastFormat
private

Definition at line 295 of file snd_decoder.cpp.

idSoundSample* idSampleDecoderLocal::lastSample
private

Definition at line 296 of file snd_decoder.cpp.

int idSampleDecoderLocal::lastSampleOffset
private

Definition at line 297 of file snd_decoder.cpp.

OggVorbis_File idSampleDecoderLocal::ogg
private

Definition at line 301 of file snd_decoder.cpp.


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