This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

C55x MP3 library fail

Hello,

I’m supporting C55x and using MP3 library.

When decoding sample audio file, in C55x MP3 sample code “davinci.mp3”,
one error was occurred at after 762 frames. Then, confirmed error status, 
it was “SYNC_NOT_FOUND”.

Console message is here.
> Encountered error 1 after 762 frames for ..\TestVecs\Input\davinci.mp3
> Decode Complete for ..\TestVecs\Input\davinci.mp3 file. Decoded 763 frames
> Finished decoding all files


What is this error ? Does anyone know how to avoid this error ?

 

Best regards,
Ishizaki 

  • You can ignore this error; its caused when the 'FillBuffer' function reaches the end of file.

    To get rid of the error, store the result of FillBuffer in a variable, say 'nRead'.  Then replace:

    if (numWords < 8)

    with

    if (nRead == 0)