vgmstream is a library for playing a wide variety of audio formats used in video games. It currently comes with source for Winamp, xmplay, Audacious, and foobar2000 plugins, and a command line decoder that outputs PCM .wav.

The best place to look now for active development is in kode54's repo. He also maintains the foobar2000 component.
You can find the latest builds in
bnnm also has a gcc build available.
Up to Halley's Comet Software