Progress now returns 0 if player is stopped
This commit is contained in:
parent
1243dbf0e1
commit
6eb149f83a
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue