ringbuffer: pointer arithmetic fixes
stream: fix uninitialized variable warning in data_available_for_stream
doc: describe compilation steps