From 4a2a1fcdd05982c3d4a2ca79e7ea0d8155c8285d Mon Sep 17 00:00:00 2001 From: Max Horn Date: Fri, 1 Aug 2003 12:50:19 +0000 Subject: enable partial looping: However this is *completely* untested since I have no clue where this feature is used, so i can't test it... if somebody tells me where this occurs, I can fix it, if it's not working already svn-id: r9361 --- scumm/sound.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scumm') diff --git a/scumm/sound.cpp b/scumm/sound.cpp index 72ba1f9c1e..48c14640ee 100644 --- a/scumm/sound.cpp +++ b/scumm/sound.cpp @@ -418,12 +418,12 @@ void Sound::playSound(int soundID) { if (loopEnd > 0) { flags |= SoundMixer::FLAG_LOOP; if ((loopEnd < waveSize) || (loopStart > 0)) { - // FIXME: Implement partial loops - warning("Partial loops not implemented. Loop at 0x%X thru 0x%X", loopStart, loopEnd); + // FIXME: Test partial loops + warning("Partial loops now are implemented. Loop at 0x%X thru 0x%X - does it sound right?", loopStart, loopEnd); } } - _scumm->_mixer->playRaw(NULL, sound, waveSize, rate, flags, soundID); + _scumm->_mixer->playRaw(NULL, sound, waveSize, rate, flags, soundID, loopStart, loopEnd); } break; } -- cgit v1.2.3