diff options
-rw-r--r-- | sword2/driver/d_sound.cpp | 11 |
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; |