diff options
author | Paweł Kołodziejski | 2008-01-13 22:02:27 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2008-01-13 22:02:27 +0000 |
commit | 16717ce5e19cec165a26b6fb912e19056d0f3db1 (patch) | |
tree | 6067ad5377577c1ccd9a02ba95af36eaeec6ce53 /engines/scumm/imuse_digi/dimuse_track.cpp | |
parent | a3f6278b4382661c1eff298e5bd01eedfbdb0afc (diff) | |
download | scummvm-rg350-16717ce5e19cec165a26b6fb912e19056d0f3db1.tar.gz scummvm-rg350-16717ce5e19cec165a26b6fb912e19056d0f3db1.tar.bz2 scummvm-rg350-16717ce5e19cec165a26b6fb912e19056d0f3db1.zip |
revert updateFadeMusicTrack
svn-id: r30475
Diffstat (limited to 'engines/scumm/imuse_digi/dimuse_track.cpp')
-rw-r--r-- | engines/scumm/imuse_digi/dimuse_track.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/engines/scumm/imuse_digi/dimuse_track.cpp b/engines/scumm/imuse_digi/dimuse_track.cpp index e049b09427..b2037d83fc 100644 --- a/engines/scumm/imuse_digi/dimuse_track.cpp +++ b/engines/scumm/imuse_digi/dimuse_track.cpp @@ -280,22 +280,6 @@ void IMuseDigital::fadeOutMusic(int fadeDelay) { } } -void IMuseDigital::updateMusicFadeTrack(int fadeDelay) { - Common::StackLock lock(_mutex, "IMuseDigital::updateMusicFadeTrack()"); - debug(5, "IMuseDigital::updateMusicFadeTrack"); - - for (int l = MAX_DIGITAL_TRACKS; l < MAX_DIGITAL_TRACKS + MAX_DIGITAL_FADETRACKS; l++) { - Track *track = _track[l]; - if (track->used && !track->toBeRemoved && (track->volGroupId == IMUSE_VOLGRP_MUSIC)) { - track->volFadeDelay = fadeDelay; - track->volFadeDest = 0; - track->volFadeStep = (track->volFadeDest - track->vol) * 60 * (1000 / _callbackFps) / (1000 * fadeDelay); - track->volFadeUsed = true; - } - } -} - - IMuseDigital::Track *IMuseDigital::cloneToFadeOutTrack(Track *track, int fadeDelay) { assert(track); Track *fadeTrack = 0; |