EmbDev.net

Forum: ARM programming with GCC/GNU tools ARM MP3/ACC Player (unkown error -6)


Author: Rami Wehbi (rami)
Posted on:

Rate this post
0 useful
not useful
Hi!

I am running the decoder MP3, I obtain always this message on my usart
"unknown error -6".

I checked the MP3 frame arriving are good, but when calling the function
"err = MP3Decode(hMP3Decoder, &read_ptr, &bytes_left,
dac_buffer[writeable_buffer], 0);"
the output indicates there is an error.

What is the possible cause of the problem? how can I solve it?


Rami

Author: Rami Wehbi (rami)
Posted on:

Rate this post
0 useful
not useful
> Hi!
>
> I am running the decoder MP3, I obtain always this message on my usart
> "unknown error -6".
>
> I checked the MP3 frame arriving are good, but when calling the function
> "err = MP3Decode(hMP3Decoder, &read_ptr, &bytes_left,
> dac_buffer[writeable_buffer], 0);"
> the output indicates there is an error.
>
> What is the possible cause of the problem? how can I solve it?
>

Actually the I commented the line that test the nmber of channels and
the version, because it was blocking all the time. "the version that
feeds the decoder is version "1" and the decoder does not except other
than version "0"".


> Rami

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.