RINGBUFFER_SIZE
#define RING_SIZE_MASK (RINGBUFFER_SIZE - 1)
par->iring.size = RINGBUFFER_SIZE;
par->cursor_heap.offset = par->iring.offset + (RINGBUFFER_SIZE >> 12);