ring property
The ring to fill. Hand SharedAudioRing.shareable to the producer thread
and rebuild it there with SharedAudioRing.attach.
EXACTLY ONE thread may write to it. The ring is single-producer by construction, and a second writer corrupts audio silently.
Implementation
final SharedAudioRing ring;