[Portaudio] libaudiodecoder - The Cross-Platform Audio Decoder API

Bjorn Roche bjorn at xowave.com
Sun Apr 15 17:11:07 EDT 2012

That's AWESOME! TERRIFIC! THANK YOU! I don't have an immediate need for this, but will soon.


On Apr 15, 2012, at 4:57 PM, Albert Santoni wrote:

> Hi all,
> From the Mixxx developers' point of view, PortAudio is the foundation
> of open source cross-platform audio. I love it and use it personally
> in several projects. It's nicely complemented by PortMidi and RtMidi
> for MIDI support, but when it comes to decoding compressed audio,
> we're missing the equivalent of PortAudio.
> There are several ways you can decode compressed audio in a
> cross-platform way, but they all have fatal flaws. If you're cautious
> about software patents, FFMPEG isn't an option. If your application is
> closed source and you can't afford a license, libmad isn't an option.
> GStreamer forces glib on you as a dependency and was only really
> designed for Linux anyways. There has to be a solution better.
> So we went out and tried to create the equivalent of PortAudio for
> audio decoding. We're now pleased to announce the public availability
> of "libaudiodecoder".
> Based on code originally written for Mixxx, we've created a library
> that wraps platform-specific audio decoding APIs on Windows and Mac OS
> X. By doing this, you no longer have to distribute an MP3 or AAC
> decoder with your application because you're using the licensed
> decoders that ship with Windows and Mac OS X. Additionally, our
> library is licensed under the MIT license, which permits closed source
> use, just like PortAudio.
> The full source code, documentation, and an example showing how to
> playback an MP3 with libaudiodecoder and PortAudio is available here:
> http://www.oscillicious.com/libaudiodecoder
> The API isn't quite watertight and the code is spotty in places, but
> it works, and it's being used in the newly released BeatCleaver 1.2.
> Though Mixxx hasn't really contributed anything useful back to
> PortAudio upstream, we hope libaudiodecoder will be useful to the
> broader community of developers interested in audio application
> development.
> Thanks,
> Albert
> -- 
> Albert Santoni
> Developer, Mixxx
> http://www.mixxx.org
> http://www.oscillicious.com
> _______________________________________________
> Portaudio mailing list
> Portaudio at music.columbia.edu
> http://music.columbia.edu/mailman/listinfo/portaudio

Bjorn Roche
Audio Collaboration

More information about the Portaudio mailing list