--- In arbingersys-dev@yahoogroups.com, "les_strates" <2dfight@...> wrote:
>
> hello,
>
> ( sorry my english is poor ^^ )
>
> I have downloaded and tested "test.exe" in the
> "madxlib-1.0b4+demo" package, when I play "test.pcm"
> I hear the music from my mp3 file ^^
>
> when I perform the same test with a "test.exe"
> compiled using GCC, and play "test.pcm"
> ... I can hear nothing but noise :'(
I have not tried this, so I won't be able to give you more than a few
ideas to try. I am not fully familiar with MinGW and GCC.
> if have updated the path to "mad.h" in "madxlib.h"
The mad.h that is used to build madxlib is a Win32 specific file
included with the libmad project. I do not know all the differences
between it and the mad.h file libmad ordinarily uses, but I know that
it has directives specific to a Win32 build.
This is probably something to review fully if you are trying to build
with a different compiler.
> Is there some switches in madxlib wich I could set to change
> the way madxlib decode mp3 streams ?
As for compiler switches, if you look at the Makefile you will see
that I am using nothing special to compile.
I think you should check endian-ness of the library. madxlib converts
using little-endian format.