From 67e7116232b03846bfac4b4ceae6cbbe91cdbc69 Mon Sep 17 00:00:00 2001 From: Abhiraj-Kumar Date: Mon, 22 Feb 2016 14:00:06 +0530 Subject: [PATCH] Update AFSoundPlayback.m --- Classes/AFSoundPlayback.m | 1 + 1 file changed, 1 insertion(+) diff --git a/Classes/AFSoundPlayback.m b/Classes/AFSoundPlayback.m index 03e6117..863ef7d 100644 --- a/Classes/AFSoundPlayback.m +++ b/Classes/AFSoundPlayback.m @@ -64,6 +64,7 @@ -(void)listenFeedbackUpdatesWithBlock:(feedbackBlock)block andFinishedBlock:(fin updateRate = 1 / _player.rate; } + [_feedbackTimer invalidate]; _feedbackTimer = [NSTimer scheduledTimerWithTimeInterval:updateRate block:^{ _currentItem.timePlayed = (int)CMTimeGetSeconds(_player.currentTime);