I have compiled by madplay and minimad. Madpaly appears to work corrrectly, but minimad fails at the mmap() call. And clues?
emil
On Sep 23, 2004, at 12:32 PM, Emil Rojas wrote:
I have compiled by madplay and minimad. Madpaly appears to work corrrectly, but minimad fails at the mmap() call. And clues?
Make sure you are redirecting a regular file to standard input:
% minimad <in.mp3 >out.raw
It's also possible your system does not support mmap(). In that case you would have to rewrite minimad.c to work without it.