From 1ead980c545830a908962fa556bb5663a1dbe323 Mon Sep 17 00:00:00 2001 From: doitux Date: Sun, 25 Dec 2011 13:45:11 +0000 Subject: [PATCH] some audio system tweaks to fix stop playing longer tracks for a new one instead of overlaying --- src/gui/qt/sound/sdlplayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/qt/sound/sdlplayer.cpp b/src/gui/qt/sound/sdlplayer.cpp index 8241fa99..19e51e8f 100644 --- a/src/gui/qt/sound/sdlplayer.cpp +++ b/src/gui/qt/sound/sdlplayer.cpp @@ -115,7 +115,7 @@ void SDLPlayer::playSound(string audioString, int playerID) break; } - audioDone(); +// audioDone(); QDataStream in(&myFile); soundData = new Uint8[(int)myFile.size()];