mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-12 22:51:11 +00:00
zak256 partial sfx loops are working fine.
svn-id: r10032
This commit is contained in:
parent
8b4668740e
commit
ff05aeeb9e
@ -353,13 +353,8 @@ void Sound::playSound(int soundID) {
|
||||
}
|
||||
size -= waveSize;
|
||||
|
||||
if (loopEnd > 0) {
|
||||
if (loopEnd > 0)
|
||||
flags |= SoundMixer::FLAG_LOOP;
|
||||
if ((loopEnd < waveSize) || (loopStart > 0)) {
|
||||
// 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, 255, 0, loopStart, loopEnd);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user