Fixed function which returning sample position index for given time in recording
Improved precision of 'getCurrentTime' function - removed latency from returning value [Bugfix]