Re: MMAP in minimad

Rob Leslie <[email protected]> Thu, 23 Sep 2004 14:04:57 -0700
Newsgroups gmane.comp.audio.mad.devel
Message-ID <[email protected]>
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.

-- 
Rob Leslie
[email protected]