Fix for speed change when pausing/unpausing from the console and JACK sample rate is different from music sample rate. Work fine here, but please review and test.