aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorTravis Howell2005-11-13 09:21:15 +0000
committerTravis Howell2005-11-13 09:21:15 +0000
commit81a956eeb3c07c88ed42bbb60396492976cc3c52 (patch)
tree35ba3d637f3d484c957e44548c1430829afc227f /sound
parentc79de31518f6fa3d465d09dc03118fe84c183692 (diff)
downloadscummvm-rg350-81a956eeb3c07c88ed42bbb60396492976cc3c52.tar.gz
scummvm-rg350-81a956eeb3c07c88ed42bbb60396492976cc3c52.tar.bz2
scummvm-rg350-81a956eeb3c07c88ed42bbb60396492976cc3c52.zip
Revert as requested.
svn-id: r19582
Diffstat (limited to 'sound')
-rw-r--r--sound/wave.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/wave.cpp b/sound/wave.cpp
index 65223b7f74..0fed68d74a 100644
--- a/sound/wave.cpp
+++ b/sound/wave.cpp
@@ -110,6 +110,7 @@ bool loadWAVFromStream(Common::SeekableReadStream &stream, int &size, int &rate,
// Prepare the return values.
rate = samplesPerSec;
+ flags = 0;
if (bitsPerSample == 8) // 8 bit data is unsigned
flags |= Audio::Mixer::FLAG_UNSIGNED;
else if (bitsPerSample == 16) // 16 bit data is signed little endian