Added ability to tune sample buffer size to more closely represent 1
seconds' worth of data