[AE/CA] - replace CoreAudioRingBuffer with AERingBuffer (which is the same duped implementation)
[AE] - Fix wrong comparison in AERingBuffer (backport from old CoreAudioRingBuffer)
Merge pull request #3160 from Memphiz/removecaringbuffer

[CA/AE] - remove CoreAudioRingBuffer and use the duped impl called AERingBuffer