Hi all,
Having problems with libmad, which I've been porting to the GP32 (ARM) so it can have a decent MP3 player, and am currently developing it using the Win32 SDK. So this isn't an ARM issue (but I may have those in the near future :) ).
Using code taken from minimad.c as an example, I've got it reading and decoding mp3 streams but the resulting 16bit data (after using the supplied downsample routine) is flooded by static (or maybe its just so saturated?). It is recognisable (just) as the source, but it sounds like my Spectrum did when it shouted Ghostbusters all those years ago.
I've tried swapping the high/low bits round and its not that, as this results in unrecognisable noise. Have also tried replacing the sample routine with a simple 16bit shift but that gives the same result.
The version of libmad afaik is 0.14.2b if that makes a difference.
Any help would be appreciated.
Yours Unwhettedly, Robert John Shepherd.
Technical Director DVD REVIEWER The UK's BIGGEST Online DVD Magazine http://www.dvd.reviewer.co.uk
For a copy of my Public PGP key, email: pgp@robertsworld.org.uk