hacky support for resampling input audio using libsamplerate
set up libsamplerate properly