fix time tracking for input samples