From: kramm Date: Thu, 10 Jan 2002 17:36:56 +0000 (+0000) Subject: this was a testfile which slipped in here accidently. X-Git-Tag: release-0-2-2~39 X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=commitdiff_plain;h=89e6903d083bb29ca8b3962de74d6f3272047240 this was a testfile which slipped in here accidently. --- diff --git a/lib/bladeenc/i.c b/lib/bladeenc/i.c deleted file mode 100644 index 86df3de..0000000 --- a/lib/bladeenc/i.c +++ /dev/null @@ -1,24 +0,0 @@ -#include "codec.h" - -int main() -{ - CodecInitOut * init; - CodecInitIn params; - char buf[1024]; - short data[1024]; - int len = 0; - - memset(¶ms, 0, sizeof(params)); - params.frequency = 32000; //48000, 44100 or 32000 - params.mode = 0; //0 = Stereo, 2 = Dual Channel, 3 = Mono - params.emphasis = 0; //0 = None, 1 = 50/15 microsec, 3 = CCITT J.17 - params.bitrate = 128; //default is 128 (64 for mono) - - init = codecInit(¶ms); - - len = codecEncodeChunk(20, data, buf); - len += codecFlush (&buf[len]); - len += codecExit(&buf[len]); - - printf("data is %d bytes\n", len); -}