Displaying 1 result from an estimated 1 matches for "samples_len".
Did you mean:
samples_in
2007 Aug 24
0
speex DTX chore
...ytes;
return transmit;
};
//eof Encode()=======================================================
[/code]
[code]
// Tester.cpp
#include "SpeexDecoder.h"
#include "SpeexEncoder.h"
#include "lpc_win.h"
#include <windows.h>
#include <stdio.h>
const int SAMPLES_LEN = 160;
const int CODED_DATA_LEN = 20;
const int FREQ = 8000;
const int QLTY = 4;
const int VAD = 1;
const int DENIOSE = 1;
const int AGC = 1;
const int ENH = 1;
const int DTX = 1;
int main ()
{
SpeexEncoder* coder;
decoder = new SpeexDecoder(FREQ, ENH);
coder = new SpeexEncoder(FREQ, QLTY, V...