Thanks, that worked fine. The only thing is minimad seems to do nothing, I tried ./minimad and it just goes straight back to the command prompt. I tried giving it a filename, ./minimad track.mp3, and the same thing happens. Can you give me some pointers as to how i start using it, or is there some basic documentation that i can read up on it?
On 10 Feb 2002 11:50:41 -0500, Mathieu Dube wrote:
you need to tell it to use libmad
so do gcc minimad.c -o minimad -lmad
-Mat On Sunday 10 February 2002 07:50, you wrote:
Hi, I have compiled mad-0.13.0b which went off fine but i am interested in playing with minimad.c. The problem is i can't see how to compile it. I tried 'gcc minimad.c' but it can't find mad.h. How do i tell the compiler how to find all the necessary files? I am using mandrake 8.0.
Thanks.
Gareth wrote:
Thanks, that worked fine. The only thing is minimad seems to do nothing, I tried ./minimad and it just goes straight back to the command prompt. I tried giving it a filename, ./minimad track.mp3, and the same thing happens. Can you give me some pointers as to how i start using it, or is there some basic documentation that i can read up on it?
`minimad' reads data from stdin and writes PCM samples to stdout. So:
./minimad <track.mp3 >track.pcm
Follow-ups to mad-dev, please.