diff options
author | Chris Apers | 2003-12-18 11:51:58 +0000 |
---|---|---|
committer | Chris Apers | 2003-12-18 11:51:58 +0000 |
commit | 3644176c43b70303e6ed4b241de751291cbe784a (patch) | |
tree | 1aea028cce525f2a449e5019bc39ef233d6a00eb | |
parent | 26fdb102bb499ddad131d44e8953d7e06fbdc6c6 (diff) | |
download | scummvm-rg350-3644176c43b70303e6ed4b241de751291cbe784a.tar.gz scummvm-rg350-3644176c43b70303e6ed4b241de751291cbe784a.tar.bz2 scummvm-rg350-3644176c43b70303e6ed4b241de751291cbe784a.zip |
PalmOS sound API cannot access globals data, StackLock constructor use g_system
svn-id: r11742
-rw-r--r-- | sound/mixer.cpp | 2 |
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); |