[Scummvm-cvs-logs] SF.net SVN: scummvm:[52568] scummvm/trunk/engines/sci/sound/music.cpp
m_kiewitz at users.sourceforge.net
m_kiewitz at users.sourceforge.net
Sun Sep 5 21:25:09 CEST 2010
Revision: 52568
http://scummvm.svn.sourceforge.net/scummvm/?rev=52568&view=rev
Author: m_kiewitz
Date: 2010-09-05 19:25:08 +0000 (Sun, 05 Sep 2010)
Log Message:
-----------
SCI: sierra sci ignores vol for kDoSound samples
now "score" is halfway playing, but it's cut so only "s" is played. Needs to get further investigated
Modified Paths:
--------------
scummvm/trunk/engines/sci/sound/music.cpp
Modified: scummvm/trunk/engines/sci/sound/music.cpp
===================================================================
--- scummvm/trunk/engines/sci/sound/music.cpp 2010-09-05 15:48:22 UTC (rev 52567)
+++ scummvm/trunk/engines/sci/sound/music.cpp 2010-09-05 19:25:08 UTC (rev 52568)
@@ -353,6 +353,10 @@
}
if (pSnd->pStreamAud && !_pMixer->isSoundHandleActive(pSnd->hCurrentAud)) {
+ // Sierra SCI ignores volume set when playing samples via kDoSound
+ // At least freddy pharkas/CD has a script bug that sets volume to 0
+ // when playing the "score" sample
+ pSnd->volume = 0x7f;
if (pSnd->loop > 1) {
pSnd->pLoopStream = new Audio::LoopingAudioStream(pSnd->pStreamAud,
pSnd->loop, DisposeAfterUse::NO);
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