Main Page | Directories | File List | Globals

libmpg2pcm

1

Description

The library libmpg2pcm consists of a single function, which decodes mpg audio data to double-precision PCM data in mono, at a specified samplerate.

Implementation

This library is implemented in C, in a pair of files: mpg2pcm.h and mpg2pcm.c.

Dependencies

The repository contains a file called stuff.c that demonstrates how to decode an mp3 using this library.

This library depends on libmad, and the stuff.c program depends additionally on libsndfile.

Download

This library resides in Lisa's cvs repository in a non-PLearn folder. To retrieve it, do this:

cvs -d :pserver:USERNAME@cvs.iro.umontreal.ca:/home/cvs/cvslisa/cvsroot login

cvs -d :pserver:USERNAME@cvs.iro.umontreal.ca:/home/cvs/cvslisa/cvsroot checkout bergstrj/src/libmadseg

Let me know if you would like to download the source, but haven't access to this machine. I'm considering transfering this code to a public cvs, like savannah.

Installation

The Makefile in cvs uses a variable called LOCAL to identify the tree in which libmad and libsndfile are installed. I've installed 64- and 32-bit versions of these libs into ~bergstrj/pub/64 and ~bergstrj/pub/32 respectively.
Generated on Sat Oct 7 17:31:54 2006 for MPG2PCM by  doxygen 1.4.4