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

Zap::GSMVoiceEncoder Class Reference

#include <voiceCodec.h>

Inheritance diagram for Zap::GSMVoiceEncoder:

Zap::VoiceEncoder TNL::Object

Detailed Description

The GSMVoiceEncoder class implements the HawkVoice GSM codec compressor.


Public Member Functions

 GSMVoiceEncoder ()
 ~GSMVoiceEncoder ()

Private Member Functions

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

Private Attributes

void * encoderState


Constructor & Destructor Documentation

Zap::GSMVoiceEncoder::GSMVoiceEncoder  ) 
 

Zap::GSMVoiceEncoder::~GSMVoiceEncoder  ) 
 


Member Function Documentation

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

Implements Zap::VoiceEncoder.

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

Implements Zap::VoiceEncoder.

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

Implements Zap::VoiceEncoder.


Field Documentation

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