diff --git a/dep/speex/src/testenc.c b/dep/speex/src/testenc.c deleted file mode 100644 index 27746f8..0000000 --- a/dep/speex/src/testenc.c +++ /dev/null @@ -1,129 +0,0 @@ -#include "speex.h" -#include -#include -#include "speex_callbacks.h" - -#pragma warning(disable: 4996) - -#define FRAME_SIZE 160 -#include -int main(int argc, char **argv) -{ - char *inFile, *outFile, *bitsFile; - FILE *fin, *fout, *fbits=NULL; - short in[FRAME_SIZE]; - float input[FRAME_SIZE], bak[FRAME_SIZE], bak2[FRAME_SIZE]; - char cbits[200]; - int nbBits; - int i; - void *st; - void *dec; - SpeexBits bits; - int tmp; - int bitCount=0; - SpeexCallback callback; - - for (i=0;i32000) - input[i]=32000; - else if (input[i]<-32000) - input[i]=-32000; - } - speex_bits_reset(&bits); - for (i=0;i -#include - -#pragma warning(disable: 4996) - -#define FRAME_SIZE 640 -#include -int main(int argc, char **argv) -{ - char *inFile, *outFile, *bitsFile; - FILE *fin, *fout, *fbits=NULL; - short in[FRAME_SIZE]; - float input[FRAME_SIZE], bak[FRAME_SIZE], bak2[FRAME_SIZE]; - char cbits[200]; - int nbBits; - int i; - void *st; - void *dec; - SpeexBits bits; - int tmp; - int bitCount=0; - - for (i=0;i32000) - input[i]=32000; - else if (input[i]<-32000) - input[i]=-32000; - } - speex_bits_reset(&bits); - for (i=0;i -#include - -#pragma warning(disable: 4996) - -#define FRAME_SIZE 320 -#include -int main(int argc, char **argv) -{ - char *inFile, *outFile, *bitsFile; - FILE *fin, *fout, *fbits=NULL; - short in[FRAME_SIZE]; - float input[FRAME_SIZE], bak[FRAME_SIZE], bak2[FRAME_SIZE]; - char cbits[200]; - int nbBits; - int i; - void *st; - void *dec; - SpeexBits bits; - int tmp; - int bitCount=0; - - for (i=0;i32000) - input[i]=32000; - else if (input[i]<-32000) - input[i]=-32000; - } - speex_bits_reset(&bits); - for (i=0;i