aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sound
diff options
context:
space:
mode:
authorMartin Kiewitz2010-07-09 13:01:48 +0000
committerMartin Kiewitz2010-07-09 13:01:48 +0000
commitb8933d7e8f1886cc22b0ef8face8ead4e890c3e6 (patch)
treee74de2d9a5307ed7814c59525960d7582591b0fd /engines/sci/sound
parentb602e7071be26838288d9b8f162a3dff70b7927f (diff)
downloadscummvm-rg350-b8933d7e8f1886cc22b0ef8face8ead4e890c3e6.tar.gz
scummvm-rg350-b8933d7e8f1886cc22b0ef8face8ead4e890c3e6.tar.bz2
scummvm-rg350-b8933d7e8f1886cc22b0ef8face8ead4e890c3e6.zip
SCI: removing unneeded mutex locking inside sci0 update cues
svn-id: r50758
Diffstat (limited to 'engines/sci/sound')
-rw-r--r--engines/sci/sound/soundcmd.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/engines/sci/sound/soundcmd.cpp b/engines/sci/sound/soundcmd.cpp
index e3c78a06cb..b1ad11651f 100644
--- a/engines/sci/sound/soundcmd.cpp
+++ b/engines/sci/sound/soundcmd.cpp
@@ -584,8 +584,6 @@ void SoundCommandParser::updateSci0Cues() {
bool noOnePlaying = true;
MusicEntry *pWaitingForPlay = NULL;
- _music->_mutex.lock();
-
const MusicList::iterator end = _music->getPlayListEnd();
for (MusicList::iterator i = _music->getPlayListStart(); i != end; ++i) {
// Is the sound stopped, and the sound object updated too? If yes, skip
@@ -604,7 +602,6 @@ void SoundCommandParser::updateSci0Cues() {
processUpdateCues((*i)->soundObj);
noOnePlaying = false;
}
- _music->_mutex.unlock();
if (noOnePlaying && pWaitingForPlay) {
// If there is a queued entry, play it now ffs: SciMusic::soundPlay()