From 3644176c43b70303e6ed4b241de751291cbe784a Mon Sep 17 00:00:00 2001 From: Chris Apers Date: Thu, 18 Dec 2003 11:51:58 +0000 Subject: PalmOS sound API cannot access globals data, StackLock constructor use g_system svn-id: r11742 --- sound/mixer.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sound') 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); -- cgit v1.2.3