coreaudio: use RingBuf.