aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sound/soundcmd.cpp
diff options
context:
space:
mode:
authorColin Snover2017-10-06 11:24:08 -0500
committerColin Snover2017-10-06 22:10:52 -0500
commit93c8044f690306e23b5b3eb621207fbf57682c40 (patch)
treef2ee32d64f926063c9121ad1a99f276aa0b6c54a /engines/sci/sound/soundcmd.cpp
parentf51b158f8cc7cb40eb56904e475aae89ac5e55a4 (diff)
downloadscummvm-rg350-93c8044f690306e23b5b3eb621207fbf57682c40.tar.gz
scummvm-rg350-93c8044f690306e23b5b3eb621207fbf57682c40.tar.bz2
scummvm-rg350-93c8044f690306e23b5b3eb621207fbf57682c40.zip
SCI32: Clean up Audio32
* Rewrap comments to 80 columns * Remove resolved TODOs * Use containers and smart pointers where appropriate
Diffstat (limited to 'engines/sci/sound/soundcmd.cpp')
-rw-r--r--engines/sci/sound/soundcmd.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/engines/sci/sound/soundcmd.cpp b/engines/sci/sound/soundcmd.cpp
index 0bb295d41e..5a1c2c0825 100644
--- a/engines/sci/sound/soundcmd.cpp
+++ b/engines/sci/sound/soundcmd.cpp
@@ -350,11 +350,9 @@ reg_t SoundCommandParser::kDoSoundPause(EngineState *s, int argc, reg_t *argv) {
}
#ifdef ENABLE_SCI32
- // NOTE: The original engine also expected a global
- // "kernel call" flag to be true in order to perform
- // this action, but the architecture of the ScummVM
- // implementation is so different that it doesn't
- // matter here
+ // SSCI also expected a global "kernel call" flag to be true in order to
+ // perform this action, but the architecture of the ScummVM
+ // implementation is so different that it doesn't matter here
if (_soundVersion >= SCI_VERSION_2_1_EARLY && musicSlot->isSample) {
if (shouldPause) {
g_sci->_audio32->pause(ResourceId(kResourceTypeAudio, musicSlot->resourceId), musicSlot->soundObj);