Added support for variable speed playback