removed extra sample in AudioRingBuffer for testing