[Scummvm-cvs-logs] scummvm master -> b4a0dfc903783b722620533994d94c64d600e958

dreammaster dreammaster at scummvm.org
Sat Nov 2 23:38:58 CET 2013


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
b4a0dfc903 TSAGE: Okay, now fixing pops at the end of sound effects.


Commit: b4a0dfc903783b722620533994d94c64d600e958
    https://github.com/scummvm/scummvm/commit/b4a0dfc903783b722620533994d94c64d600e958
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2013-11-02T15:38:22-07:00

Commit Message:
TSAGE: Okay, now fixing pops at the end of sound effects.

Changed paths:
    engines/tsage/sound.cpp



diff --git a/engines/tsage/sound.cpp b/engines/tsage/sound.cpp
index db694e9..69dfb1a 100644
--- a/engines/tsage/sound.cpp
+++ b/engines/tsage/sound.cpp
@@ -3107,6 +3107,8 @@ void SoundBlasterDriver::playSound(const byte *channelData, int dataOffset, int
 
 	// Make a copy of the buffer
 	int dataSize = g_vm->_memoryManager.getSize(channelData);
+	dataSize -= 18;
+
 	byte *soundData = (byte *)malloc(dataSize - dataOffset);
 	Common::copy(_channelData, _channelData + (dataSize - dataOffset), soundData);
 






More information about the Scummvm-git-logs mailing list