search for: spxencode

Displaying 4 results from an estimated 4 matches for "spxencode".

Did you mean: spxdecode
2011 Dec 22
2
Decoding only a certain frame results in different values than when decoding the entire file
To make it complete, here is the code that I am using to encode a large file: int __stdcall SpxEncode(unsigned char* inBuf, unsigned char* outBuf, unsigned int inlen) { //char *testFile; //FILE *ftest; //testFile = "test"; //ftest = fopen(testFile, "wb"); //fwrite(inBuf,1,inlen,ftest); //take every 320 bytes //copy every short to float array,...
2011 Dec 23
0
Decoding only a certain frame results in different values than when decoding the entire file
...et more input. I am really lost because I am not sure what is going on here, and there are no sources to investigate on. Thank you. Hermann Am 22.12.2011 20:55, schrieb Hermann Weber: > To make it complete, here is the code that I am using to encode a large > file: > > int __stdcall SpxEncode(unsigned char* inBuf, unsigned char* outBuf, > unsigned int inlen) > { > //char *testFile; > //FILE *ftest; > //testFile = "test"; > //ftest = fopen(testFile, "wb"); > //fwrite(inBuf,1,inlen,ftest); > > //take every...
2011 Dec 23
2
Decoding only a certain frame results in different values than when decoding the entire file
...t sure what is going on here, and there > are no sources to investigate on. > > Thank you. > > Hermann > > Am 22.12.2011 20:55, schrieb Hermann Weber: >> To make it complete, here is the code that I am using to encode a large >> file: >> >> int __stdcall SpxEncode(unsigned char* inBuf, unsigned char* outBuf, >> unsigned int inlen) >> { >> //char *testFile; >> //FILE *ftest; >> //testFile = "test"; >> //ftest = fopen(testFile, "wb"); >> //fwrite(inBuf,1,inlen,ftes...
2011 Dec 21
3
Decoding only a certain frame results in different values than when decoding the entire file
Sorry, it seems I have only replied to Lakhdar, not to the newsgroup. Below is my reply to Lakhdar, and I would like to make it more clear now, using some pseudo values for simplicity: I read bytes 1 to 124 from my encoded spx file. I decode themt and get the values: ---Frame 1---- -293 -8234 2134 17 ---Frame 2---- -9323 -732 189 2329 Both frames are just perfect as I need them. But now when I