Displaying 2 results from an estimated 2 matches for "initiliaze_decod".
Did you mean:
initiliaze_decoder
2011 Dec 22
0
Decoding only a certain frame results in different values than when decoding the entire file
HI Hermann,
I am not sure I understand exactly what you are trying to do.
Let me try to describe what I understood (I assumed your byte array starts
@ 1 and not 0 as it is supposed to be in C) :
##############################
CASE 1: (output is good)
##############################
- INITILIAZE_DECODER (reset state memory)
- READ bytes 1 to 124
- SpxDecode(DinBuf, DoutBuf, unsigned int Dinlen)
- DECODE bytes 1 to 62
---OUTPUT Frame 1----
-293
-8234
2134
17
- DECODE bytes 63 to 124
---OUTPUT Frame 2----...
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