N_SAMPLES
err = ring_buffer__consume_n(ringbuf, N_SAMPLES);
if (!ASSERT_EQ(err, N_SAMPLES, "rb_consume"))