Hi Everyone,
I know normally the configure script should take care of the endian-ness of your platform, but in my case I am trying to port Madlib to a DSP chip made by analog devices. In any case, I was unable to compile in unix because my IDE is only available for windoz.... leaving me to configure things on my own.
After much effort I realized that my input buffer contains mixed up data.. due to the endian problem. If I view my mp3 in a hex viewer, the first address contains:
FFFBB044
But when I view my buffer in memory after mapping I see
44B0FBFF
Which shows that the byte order is reversed along with each individual byte (4 of them) being reversed as well. (This is shown by B0 and FB...) In any case, does anyone know how to switch this around? I would like to be able to do this without manually switching the byte order... which could be computationally expensive. thanks for your help everyone.
Matt