try to make resampler from resampler.c from speex.