search for: type_encode

Displaying 1 result from an estimated 1 matches for "type_encode".

2008 May 29
0
Again, teach me speex AEC please!
...*************************************************************************************************/ /** * com_peterhi_Speex.c */ #include <speex/speex.h> #include <speex/speex_preprocess.h> #include <speex/speex_resampler.h> #include "com_peterhi_Speex.h" #define TYPE_ENCODE 1 #define TYPE_DECODE 2 #define DSP_FRAME_SIZE 160 #define ENC_FRAME_SIZE 320 #define FRAME_RATE 8000 int yes = 1; int quality = 10; float rate = 8000; typedef struct { int type; SpeexBits bits; void* pSt; SpeexPreprocessState* pPre; // Perhaps the echo state here? } Codec; /...