fixed more small bugs with AudioRingBuffer constructor