Make resampler "driver" hook code consistent with rest.