Progress now returns 0 if player is stopped

This commit is contained in:
Thong Nguyen 2014-02-13 22:24:26 +00:00
parent 1243dbf0e1
commit 6eb149f83a
1 changed files with 2 additions and 1 deletions

View File

@ -931,7 +931,8 @@ static void AudioFileStreamPacketsProc(void* clientData, UInt32 numberBytes, UIn
return requestedSeekTime;
}
if (self.internalState == STKAudioPlayerInternalStatePendingNext)
if (self.internalState == STKAudioPlayerInternalStatePendingNext
|| self.internalState == STKAudioPlayerInternalStateStopped)
{
return 0;
}