On Tue, 16 Apr 2002, Henning, Brian wrote:
there any example programs in the documentation? I would like to see a simple example of some code to read a frame/header and print it to the screen.
http://www.bsd-dk.dk/~elrond/audio/madlld/
From the README:
"This program is a "how to" about libmad's low-level API. The intended use of this program is to serve as tutorial or demonstration for programers wiling to learn how the curently undocumented library API can be used. As a side effect the program can be used to decode MPEG audio streams to raw PCM samples."