diff options
Diffstat (limited to 'sound/wave.cpp')
-rw-r--r-- | sound/wave.cpp | 1 |
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 |