News SF.net Project Frequently Asked Questions Documentation Downloads Mailing Lists How to Contribute

SourceForge.net Logo

Changing the way games are made and played.

Zap::LPC10VoiceDecoder class Reference

Zap::LPC10VoiceDecoder Class Reference

#include <voiceCodec.h>

Inheritance diagram for Zap::LPC10VoiceDecoder:

Zap::VoiceDecoder TNL::Object

Detailed Description

The LPC10VoiceDecoder class implements the HawkVoice LPC10 codec decompressor.


Public Member Functions

 LPC10VoiceDecoder ()
 ~LPC10VoiceDecoder ()

Private Member Functions

U32 getSamplesPerFrame ()
U32 getAvgCompressedFrameSize ()
U32 decompressFrame (S16 *framePtr, U8 *inputPtr, U32 inSize)

Private Attributes

void * decoderState


Constructor & Destructor Documentation

Zap::LPC10VoiceDecoder::LPC10VoiceDecoder  ) 
 

Zap::LPC10VoiceDecoder::~LPC10VoiceDecoder  ) 
 


Member Function Documentation

U32 Zap::LPC10VoiceDecoder::getSamplesPerFrame  )  [private, virtual]
 

Implements Zap::VoiceDecoder.

U32 Zap::LPC10VoiceDecoder::getAvgCompressedFrameSize  )  [private, virtual]
 

Implements Zap::VoiceDecoder.

U32 Zap::LPC10VoiceDecoder::decompressFrame S16 framePtr,
U8 inputPtr,
U32  inSize
[private, virtual]
 

Implements Zap::VoiceDecoder.


Field Documentation

void* Zap::LPC10VoiceDecoder::decoderState [private]