Simple resampler using libspeexdsp and libsoundfile