From 1df8d423d028b31189b94222be3df83a6b973e97 Mon Sep 17 00:00:00 2001 From: Ningyu Date: Mon, 1 Sep 2014 15:03:57 +0800 Subject: [PATCH] win32 can not stop looping sound effect --- cocos/audio/win32/MciPlayer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/cocos/audio/win32/MciPlayer.cpp b/cocos/audio/win32/MciPlayer.cpp index eee7c799fa..f39eedcb4c 100644 --- a/cocos/audio/win32/MciPlayer.cpp +++ b/cocos/audio/win32/MciPlayer.cpp @@ -161,6 +161,7 @@ void MciPlayer::Stop() { _SendGenericCommand(MCI_STOP); _playing = false; + _times = 0; } void MciPlayer::Rewind()