Zap::VoiceEncoder Class Reference
#include <voiceCodec.h>
Inheritance diagram for Zap::VoiceEncoder:
Detailed Description
The
VoiceEncoder class is an abstract base class for the various voice compression algorithms supported by
Zap - initially just the HawkVoice variable bitrate LPC10 codec.
It takes an arbitrary buffer of 16 bit samples at 8KHz and returns a compressed buffer. The original buffer is modified to contain any samples that were not used due to unfilled frame sizing.
Member Function Documentation
virtual U32 Zap::VoiceEncoder::getSamplesPerFrame |
( |
|
) |
[private, pure virtual] |
|
virtual U32 Zap::VoiceEncoder::getMaxCompressedFrameSize |
( |
|
) |
[private, pure virtual] |
|
virtual U32 Zap::VoiceEncoder::compressFrame |
( |
S16 * |
samplePtr, |
|
|
U8 * |
outputPtr |
|
) |
[private, pure virtual] |
|