use existing buffer for analogue samples to save on memory