ActiveAE: correct time of buffered samples by resample ratio