#include <paec.h>
Inheritance diagram for PAec:

Public Member Functions | |
| void | Send (BYTE *buffer, unsigned &length) |
| void | Receive (BYTE *buffer, unsigned &length) |
Protected Attributes | |
| PMutex | readwritemute |
| PQueueChannel * | echo_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 |
| 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 | ( | ) |
| 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.
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] |
PBoolean PAec::receiveReady [protected] |
void* PAec::ref_buf [protected] |
void* PAec::echo_buf [protected] |
void* PAec::e_buf [protected] |
void* PAec::noise [protected] |
1.5.1