I didn't consider this point, and its truly one to think about. But
since major projects also use sndfile and mad (like ardour uses
sndfile), and the use of them simplifies the code, I still favour them
over using external apps.
Another thing, we should better open a sourceforge project for tX with
svn.
Gerald
On Mon, 2010-02-01 at 12:23 +1100, Erik de Castro Lopo wrote:
Dan Mills wrote:
In fact the background file converter daemon I am
writing at the moment
does a fork and exec for every conversion precisely to insulate from
possible memory leaks in client libraries used by libsndfile (can you
swear that the ogg and flac libraries don't have leaks?), it is just
defensive programming......
I can swear that libsndfile doesn't leak memory when used correctly
regardless of file format used. I consider any memory leakage a
bug which I will hunt down and fix. In addition, every single release
is run extensively under Valgrind and all issues fixed.
Erik