ActiceAE: take sampling rate into account when adjust input buffers