Merge pull request #13363 from GammaEspeon/v3

[bugfix] SimpleAudioEngine misreporting whether music is playing when paused/resumed
This commit is contained in:
子龙山人 2015-08-14 11:54:12 +08:00
commit f36d6a5c8c
1 changed files with 2 additions and 0 deletions

View File

@ -136,6 +136,7 @@ void MciPlayer::Close()
void MciPlayer::Pause()
{
_SendGenericCommand(MCI_PAUSE);
_playing = false;
}
void MciPlayer::Resume()
@ -153,6 +154,7 @@ void MciPlayer::Resume()
else
{
_SendGenericCommand(MCI_RESUME);
_playing = true;
}
}