diff options
Diffstat (limited to 'engines/agos/sound.cpp')
-rw-r--r-- | engines/agos/sound.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/agos/sound.cpp b/engines/agos/sound.cpp index 987e869da2..04b932a261 100644 --- a/engines/agos/sound.cpp +++ b/engines/agos/sound.cpp @@ -632,7 +632,10 @@ void Sound::playRawData(byte *soundData, uint sound, uint size) { byte *buffer = (byte *)malloc(size); memcpy(buffer, soundData, size); - _mixer->playRaw(&_effectsHandle, buffer, size, 8000, Audio::Mixer::FLAG_UNSIGNED | Audio::Mixer::FLAG_AUTOFREE, sound); + if (_vm->getPlatform() == Common::kPlatformPC) + _mixer->playRaw(&_effectsHandle, buffer, size, 8000, Audio::Mixer::FLAG_UNSIGNED | Audio::Mixer::FLAG_AUTOFREE, sound); + else + _mixer->playRaw(&_effectsHandle, buffer, size, 8000, Audio::Mixer::FLAG_AUTOFREE, sound); } // Feeble Files specific |