Forum: ARM programming with GCC/GNU tools MP3 Player demo

Author: Rami Wehbi (rami)
Posted on:

Rate this post
0 useful
not useful

I still can not understand why do the decoder has a restrication on the
version and number of channels :

        if (MP3GetNextFrameInfo(hMP3Decoder, &mp3FrameInfo, read_ptr) ==
0 &&
    mp3FrameInfo.nChans == 2 &&
    mp3FrameInfo.version == 0)

ref : play_mp3.c

Nothing is working I guess due to this part.



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.