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::LPC10VoiceEncoder class Reference

Zap::LPC10VoiceEncoder Class Reference

#include <voiceCodec.h>

Inheritance diagram for Zap::LPC10VoiceEncoder:

Zap::VoiceEncoder TNL::Object

Detailed Description

The LPC10VoiceEncoder class implements the HawkVoice LPC10 codec compressor.


Public Member Functions

 LPC10VoiceEncoder ()
 ~LPC10VoiceEncoder ()

Private Member Functions

U32 getSamplesPerFrame ()
U32 getMaxCompressedFrameSize ()
U32 compressFrame (S16 *samplePtr, U8 *outputPtr)

Private Attributes

void * encoderState


Constructor & Destructor Documentation

Zap::LPC10VoiceEncoder::LPC10VoiceEncoder  ) 
 

Zap::LPC10VoiceEncoder::~LPC10VoiceEncoder  ) 
 


Member Function Documentation

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

Implements Zap::VoiceEncoder.

U32 Zap::LPC10VoiceEncoder::getMaxCompressedFrameSize  )  [private, virtual]
 

Implements Zap::VoiceEncoder.

U32 Zap::LPC10VoiceEncoder::compressFrame S16 samplePtr,
U8 outputPtr
[private, virtual]
 

Implements Zap::VoiceEncoder.


Field Documentation

void* Zap::LPC10VoiceEncoder::encoderState [private]