PTLib  Version 2.10.4
PAec Class Reference

#include <paec.h>

Inheritance diagram for PAec:
PObject

List of all members.

Public Member Functions

Construction
 PAec (int _clock=8000, int _sampletime=30)
 Create a new canceler.
 ~PAec ()
void Send (BYTE *buffer, unsigned &length)
 @name Basic operations
void Receive (BYTE *buffer, unsigned &length)
 Playing Channel Should be called after decoding and prior to playing.

Protected Attributes

PMutex readwritemute
PQueueChannelecho_chan
SpeexEchoState * echoState
SpeexPreprocessState * preprocessState
int clockrate
int bufferTime
PInt64 minbuffer
PInt64 maxbuffer
int sampleTime
ReceiveTimeQueue rectime
PTimeInterval lastTimeStamp
PBoolean 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.


Member Function Documentation

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

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

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

@name Basic operations

Recording Channel. Should be called prior to encoding audio


Member Data Documentation

int PAec::bufferTime [protected]
int PAec::clockrate [protected]
void* PAec::e_buf [protected]
void* PAec::echo_buf [protected]
SpeexEchoState* PAec::echoState [protected]
PInt64 PAec::maxbuffer [protected]
PInt64 PAec::minbuffer [protected]
void* PAec::noise [protected]
SpeexPreprocessState* PAec::preprocessState [protected]
ReceiveTimeQueue PAec::rectime [protected]
void* PAec::ref_buf [protected]
int PAec::sampleTime [protected]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines