Custom audio: add ring buffer