PalmOS sound API cannot access globals data, StackLock constructor use g_system

svn-id: r11742
This commit is contained in:
Chris Apers 2003-12-18 11:51:58 +00:00
parent 26fdb102bb
commit 3644176c43

View File

@ -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);