Added the pcm_ring_buffer code