[Scummvm-cvs-logs] SF.net SVN: scummvm:[50316] scummvm/trunk/engines/sci/sound/music.h

m_kiewitz at users.sourceforge.net m_kiewitz at users.sourceforge.net
Sat Jun 26 13:48:43 CEST 2010


Revision: 50316
          http://scummvm.svn.sourceforge.net/scummvm/?rev=50316&view=rev
Author:   m_kiewitz
Date:     2010-06-26 11:48:42 +0000 (Sat, 26 Jun 2010)

Log Message:
-----------
SCI: reverting r50315 - had the deadlock just again...

Modified Paths:
--------------
    scummvm/trunk/engines/sci/sound/music.h

Modified: scummvm/trunk/engines/sci/sound/music.h
===================================================================
--- scummvm/trunk/engines/sci/sound/music.h	2010-06-26 11:43:14 UTC (rev 50315)
+++ scummvm/trunk/engines/sci/sound/music.h	2010-06-26 11:48:42 UTC (rev 50316)
@@ -164,13 +164,11 @@
 	uint32 soundGetTempo() const { return _dwTempo; }
 
 	bool soundIsActive(MusicEntry *pSnd) {
-		Common::StackLock lock(_mutex);
 		assert(pSnd->pStreamAud != 0);
 		return _pMixer->isSoundHandleActive(pSnd->hCurrentAud);
 	}
 
 	void updateAudioStreamTicker(MusicEntry *pSnd) {
-		Common::StackLock lock(_mutex);
 		assert(pSnd->pStreamAud != 0);
 		pSnd->ticker = (uint16)(_pMixer->getSoundElapsedTime(pSnd->hCurrentAud) * 0.06);
 	}


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list