Hi! Thanks for your reply.
For all other people: I try to decode a 440 Hz Sinus (left & right are the same) MP3 in 128 kbits fixed rate and 44.1 KHz sampling rate. The MP3 decodes fine on a PC in Visual C++. When using a Greenhills compiler for the MIPS4111 processor I get weird output. I only look at the left channel.
MAD gives signed 32 bits samples as output. I displayed them on a television for debugging. The MIPS processor is connected to a television. I sent a screenshot of the output with this email. It has nothing to do with endian swap I guess because the data is in shape, but not correct. Take a look for yourself. What's your opinion?
Thanks.
Jeroen
----- Original Message ----- From: "Andre" armccurdy@yahoo.co.uk To: "Jeroen T" jeroen_t@hotmail.com; mad-dev@lists.mars.org Sent: Friday, February 15, 2002 10:23 AM Subject: Re: Problems when porting to MIPS processor using Greenhills compiler
--- Jeroen T jeroen_t@hotmail.com wrote:
Hi. I got problems using MADLIB with a MIPS4111 processor and the Greenhills compiler. ...
Hi Jeroen,
Make sure that the 16bit output sample values are not endian-swapped.
Try changing compiler options and optimisation levels.
Post results back to mad-dev (rather than mad-user).
Hope that helps... :-)
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