PAec Class Reference

#include <paec.h>

Inheritance diagram for PAec:

PObject List of all members.

Public Member Functions

void Send (BYTE *buffer, unsigned &length)
void Receive (BYTE *buffer, unsigned &length)

Protected Attributes

PMutex readwritemute
PQueueChannelecho_chan
SpeexEchoState * echoState
SpeexPreprocessState * preprocessState
int clockrate
int bufferTime
PInt64 minbuffer
PInt64 maxbuffer
int sampleTime
ReceiveTimeQueue rectime
PTimeInterval lastTimeStamp
BOOL receiveReady
void * ref_buf
void * echo_buf
void * e_buf
void * noise

Constructor & Destructor Documentation

PAec::PAec ( int  _clock = 8000,
int  _sampletime = 30 
)

Create a new canceler.

PAec::~PAec (  ) 

PAec::PAec ( int  _clock = 8000,
int  _sampletime = 30 
)

Create a new canceler.

PAec::~PAec (  ) 


Member Function Documentation

void PAec::Send ( BYTE *  buffer,
unsigned &  length 
)

Recording Channel. Should be called prior to encoding audio

void PAec::Receive ( BYTE *  buffer,
unsigned &  length 
)

Playing Channel Should be called after decoding and prior to playing.


Member Data Documentation

PMutex PAec::readwritemute [protected]

PQueueChannel* PAec::echo_chan [protected]

SpeexEchoState* PAec::echoState [protected]

SpeexPreprocessState* PAec::preprocessState [protected]

int PAec::clockrate [protected]

int PAec::bufferTime [protected]

PInt64 PAec::minbuffer [protected]

PInt64 PAec::maxbuffer [protected]

int PAec::sampleTime [protected]

ReceiveTimeQueue PAec::rectime [protected]

PTimeInterval PAec::lastTimeStamp [protected]

BOOL PAec::receiveReady [protected]

void* PAec::ref_buf [protected]

void* PAec::echo_buf [protected]

void* PAec::e_buf [protected]

void* PAec::noise [protected]


The documentation for this class was generated from the following file:
Generated on Fri Mar 7 06:25:03 2008 for PTLib by  doxygen 1.5.1