[Scummvm-cvs-logs] SF.net SVN: scummvm:[50560] scummvm/trunk/engines/sci/sound/audio.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Thu Jul 1 19:42:40 CEST 2010
Revision: 50560
http://scummvm.svn.sourceforge.net/scummvm/?rev=50560&view=rev
Author: thebluegr
Date: 2010-07-01 17:42:39 +0000 (Thu, 01 Jul 2010)
Log Message:
-----------
SCI: Removed duplicate warning for missing audio samples
Modified Paths:
--------------
scummvm/trunk/engines/sci/sound/audio.cpp
Modified: scummvm/trunk/engines/sci/sound/audio.cpp
===================================================================
--- scummvm/trunk/engines/sci/sound/audio.cpp 2010-07-01 17:16:06 UTC (rev 50559)
+++ scummvm/trunk/engines/sci/sound/audio.cpp 2010-07-01 17:42:39 UTC (rev 50560)
@@ -70,10 +70,11 @@
_mixer->playStream(Audio::Mixer::kSpeechSoundType, &_audioHandle, audioStream);
return sampleLen;
} else {
- warning("startAudio: unable to create stream for audio number %d, module %d", number, module);
+ // Don't throw a warning in this case. getAudioStream() already has. Some games
+ // do miss audio entries (perhaps because of a typo, or because they were simply
+ // forgotten).
+ return 0;
}
-
- return 0;
}
int AudioPlayer::wPlayAudio(uint16 module, uint32 tuple) {
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