Merge pull request #7920 from rny/audio_win32

win32 can not stop looping sound effect
This commit is contained in:
minggo 2014-09-15 09:37:11 +08:00
commit 6bcab3b05d
1 changed files with 1 additions and 0 deletions

View File

@ -161,6 +161,7 @@ void MciPlayer::Stop()
{ {
_SendGenericCommand(MCI_STOP); _SendGenericCommand(MCI_STOP);
_playing = false; _playing = false;
_times = 0;
} }
void MciPlayer::Rewind() void MciPlayer::Rewind()