use the resampled sample rate, if needed