Refactored ring_buffer into user_source / rf_sink.