Eliminate function pointers from the resampler.