Improved iSample value
Fixed playback issues