Merge pull request #175 from sergiou87/master
Paused Audio Player doesn't transit to Stopped state on stop
This commit is contained in:
commit
499e54731d
|
|
@ -2442,6 +2442,9 @@ static BOOL GetHardwareCodecClassDesc(UInt32 formatId, AudioClassDescription* cl
|
|||
}
|
||||
else if (!isRunning)
|
||||
{
|
||||
stopReason = stopReasonIn;
|
||||
self.internalState = STKAudioPlayerInternalStateStopped;
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue