diff options
-rw-r--r-- | sword1/sound.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sword1/sound.cpp b/sword1/sound.cpp index 3c32f9abdc..ec5a6e2a09 100644 --- a/sword1/sound.cpp +++ b/sword1/sound.cpp @@ -143,6 +143,8 @@ void SwordSound::playSample(QueueElement *elem) { flags = SoundMixer::FLAG_16BITS | SoundMixer::FLAG_LITTLE_ENDIAN; else flags = SoundMixer::FLAG_UNSIGNED; + if (READ_LE_UINT16(sampleData + 0x16) == 2) + flags |= SoundMixer::FLAG_STEREO; _mixer->playRaw(&elem->handle, sampleData + 0x2C, size, 11025, flags, elem->id, volume, pan); } } else |