Make sure the audio player changes to stopped state when it's stopped from paused state
This commit is contained in:
parent
39f0d8bdfe
commit
de99ec9d7a
|
|
@ -2412,6 +2412,9 @@ static BOOL GetHardwareCodecClassDesc(UInt32 formatId, AudioClassDescription* cl
|
|||
}
|
||||
else if (!isRunning)
|
||||
{
|
||||
stopReason = stopReasonIn;
|
||||
self.internalState = STKAudioPlayerInternalStateStopped;
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue