diff options
author | Max Horn | 2003-08-01 12:50:19 +0000 |
---|---|---|
committer | Max Horn | 2003-08-01 12:50:19 +0000 |
commit | 4a2a1fcdd05982c3d4a2ca79e7ea0d8155c8285d (patch) | |
tree | 5ee4ef995afb2163effa8b0efd6c092a7cef2e08 /scumm | |
parent | d9bd77032a9f70ca34dbd917224dcc9bc37cfa0c (diff) | |
download | scummvm-rg350-4a2a1fcdd05982c3d4a2ca79e7ea0d8155c8285d.tar.gz scummvm-rg350-4a2a1fcdd05982c3d4a2ca79e7ea0d8155c8285d.tar.bz2 scummvm-rg350-4a2a1fcdd05982c3d4a2ca79e7ea0d8155c8285d.zip |
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
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/sound.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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; } |