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

# Zap::LPC10VoiceEncoder Class Reference

`#include <voiceCodec.h>`

Inheritance diagram for Zap::LPC10VoiceEncoder:

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