Added a buffer size, so that it only buffers 20 frames instead of playing from the beginning.