Compensating for dropped samples in plugin