make sure that the AudioRingBuffer exists before trying to use it