Merge pull request #175 from sergiou87/master

Paused Audio Player doesn't transit to Stopped state on stop
This commit is contained in:
Thong Nguyen 2015-12-11 01:02:14 +00:00
commit 499e54731d
1 changed files with 3 additions and 0 deletions

View File

@ -2442,6 +2442,9 @@ static BOOL GetHardwareCodecClassDesc(UInt32 formatId, AudioClassDescription* cl
}
else if (!isRunning)
{
stopReason = stopReasonIn;
self.internalState = STKAudioPlayerInternalStateStopped;
return;
}