add circular buffer for pre-buffering.