aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
Diffstat (limited to 'sound')
-rw-r--r--sound/mixer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/mixer.cpp b/sound/mixer.cpp
index 96720f0aa1..271cf84393 100644
--- a/sound/mixer.cpp
+++ b/sound/mixer.cpp
@@ -276,7 +276,9 @@ int SoundMixer::playVorbis(PlayingSoundHandle *handle, OggVorbis_File *ov_file,
#endif
void SoundMixer::mix(int16 *buf, uint len) {
+#ifndef __PALM_OS__
Common::StackLock lock(_mutex);
+#endif
if (_premixProc && !_paused) {
_premixProc(_premixParam, buf, len);