underscore the sample length variables in AudioRingBuffer
some refactoring for member variables in AudioRingBuffer