I'd rather suggest to use libmad for mp3's, since the old code did the same thing: Loading the files with external programs and piping them into tX.
I wanted to get rid of that, cause it looks awfull in code. You can see it in audiofile.cpp. With sndfile and mad we have 2 libs for all common file types.
Gerald

On Mon, 2010-02-01 at 11:53 +1100, Erik de Castro Lopo wrote:
Dan Mills wrote:

> At the moment I try libsndfile then if that fails do the pipe, dup2 and
> execve thing to shovel it through an external decoder, but it is a lot
> of code that would be better in the library. 
> 
> Patch acceptable once it finally expires?

Sure! As long as its LGPL compatible code and not your pipe/dup2/execve
hack :-).

Erik