Revert as requested.

svn-id: r19582
This commit is contained in:
Travis Howell 2005-11-13 09:21:15 +00:00
parent c79de31518
commit 81a956eeb3

View File

@ -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