ringbuffer does not need buffer_input.