[mad-dev] simple example using libmad
09 Nov 2001 00:46:22 -0500
I'm trying to create a small footprint program that decodes and plays an
mp3 from a buffer using libmad.
I started off with minimad and I recalled that decode_output() handled
the buffering in madplay. I tried to replicate that by modifying
minimad.c to include decode_output() and all of its dependencies. This
required many components from madplay. However, I was never able to get
this to run correctly.
I don't think that integrating decode_output() into minimad is the best
solution. What is the best way to create a simple program to decode and
play an mp3 from a buffer without using all of madplay (space