AnsweredAssumed Answered

MP3 decoder - number of consumed bytes issue

Question asked by Milan on Feb 1, 2016
Latest reply on Feb 12, 2016 by Milan

Hi all,

I use MP3 decoder in many projects (hundreds of devices).

Sometimes I can see, that in some case the decoding function adi_mp3_decoder returns the value of number of consumed bytes by the decoder is larger than number of input bytes to decode.

I know that there were some problems with the correct value of number of consumed bytes in older library versions. So I use buffer pointers to calculate the number of consumed bytes, but the result is the same.

I use the newest library version - 4.0.0 and own borad based on BF538 processor.

A attach MP3 file (it is number 55 in czech language). The problem is at the end of decoding. Decoding function is called with the 127 inuts bytes to decode but the function tells me that cunsumed 128 bytes. This result in next call of decoding function and the end of audio voice signal is doubled. It say "fifty-five-five", instead of simple "fifty-five".


Do someone know about this problem? How can I do some workarround?

Thanks for your answer.