Use the resampled rate to calculate the slack threshold rather than just 48kHz (...