aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjörn Andersson2003-09-05 16:07:03 +0000
committerTorbjörn Andersson2003-09-05 16:07:03 +0000
commitcd9496ab3aee61cd9f86043368b3393bfb3353de (patch)
tree6183dc3358c9b5cf523cb09d488d4d6dc6ce88c9
parent7400995094116dd77484c7e1ceb797a4f273fae4 (diff)
downloadscummvm-rg350-cd9496ab3aee61cd9f86043368b3393bfb3353de.tar.gz
scummvm-rg350-cd9496ab3aee61cd9f86043368b3393bfb3353de.tar.bz2
scummvm-rg350-cd9496ab3aee61cd9f86043368b3393bfb3353de.zip
Added FIXME comment about DipMusic().
svn-id: r10010
-rw-r--r--sword2/driver/d_sound.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/sword2/driver/d_sound.cpp b/sword2/driver/d_sound.cpp
index 8d3b81c861..fc03cdf8ca 100644
--- a/sword2/driver/d_sound.cpp
+++ b/sword2/driver/d_sound.cpp
@@ -1296,16 +1296,19 @@ void Sword2Sound::UpdateCompSampleStreaming(void) {
StreamCompMusicFromLock(musFilename[i], musId[i], musLooping[i]);
}
}
- DipMusic();
+
+ // FIXME: We need to implement DipMusic()'s functionality, but since
+ // our sound buffer is much shorter than the original's it should be
+ // enough to simply modify the channel volume in this function instead
+ // of using a separate function to modify part of the sound buffer.
+
+ // DipMusic();
}
int32 Sword2Sound::DipMusic() {
- // TODO: implement this func
// disable this func for now
return RD_OK;
- StackLock lock(_mutex);
-
/*
int32 len;
int32 readCursor, writeCursor;