Main Page Modules Namespaces C++ Classes Compound List File List Index
TNL: Zap::GSMVoiceEncoder Class Reference

# Zap::GSMVoiceEncoder Class Reference

`#include <voiceCodec.h>`

Inheritance diagram for Zap::GSMVoiceEncoder:

## 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]`