some audio system tweaks to fix stop playing longer tracks for a new one

instead of overlaying
This commit is contained in:
doitux
2011-12-25 13:45:11 +00:00
parent f294834d00
commit 1ead980c54
+1 -1
View File
@@ -115,7 +115,7 @@ void SDLPlayer::playSound(string audioString, int playerID)
break;
}
audioDone();
// audioDone();
QDataStream in(&myFile);
soundData = new Uint8[(int)myFile.size()];