madxlib
madxlib is a C/C++ source code to create a Windows DLL that performs buffer-based MP3 decoding. It allows you to build interfaces that can process a given MP3 file in chunks, at intervals you specify, and returns the decoded 16-bit PCM samples in a buffer.
It uses the powerful open source library
libmad for MP3 decoding.
The design was taken from the source for
madlld,
whose purpose was to demonstrate libmad's low-level API.
madxlib was designed using a "Makefile" and needs only the .NET SDK (
available for free) to compile. The demo includes the compiled DLL and a test program (screenshot below). The test source demonstrates the API usage. It takes an input MP3 file and converts it to a raw PCM output file. See the article
Programming the madxlib API, which was submitted to
The Code Project, for details. Also see the comments in the sources.
test.exe Screenshot:
Purchase madxlib SDK
Why buy? Especially since you can already download madxlib for free? There's a few reasons:
- VBDemo Visual Studio 2003 VB.NET project that converts an MP3 file to WAV, with documentation.
- VBDemoPlay Visual Studio 2003 VB.NET project that plays MP3 using Microsoft DirectSound.
- Detailed documentation and pseudocode describing the inner workings of madxlib
- Compiled, runnable projects and sources
Note: After payment you will see a button that reads
Return to Arbinger Systems. Click to receive the download information.