audio-resampler: add more functions