Gareth,
I am trying to get the mad decoder working on the Sharp ARM Evaluator board.
That wouldn't be the AEB1 board with an ARM7DI cpu (ie lacking the enhanced 32x32bit multiply instructions) and a 24 MHz cpu clock would it ??
If so, be aware that you should configure MAD with FPM_DEFAULT, and the fact that you stand no hope at all of listening to any decoded output in real time... :-)
The way i see it, i need to alter minimad so that it takes a pointer to where the start of the mp3 file is, and then another pointer for where it should start writng the pcm samples.
Yes. Remember to update your pointers every time you copy data out of or into your buffers so you know where to read/write on the next call and you should be laughing. (Even so, its probably best to get this far on a PC before going near the ARM board).
Good luck.
Andre --
__________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com