diff options
author | Paweł Kołodziejski | 2008-01-15 01:35:05 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2008-01-15 01:35:05 +0000 |
commit | 86714835f1603ade5d54af0e503e0b70bf2aee33 (patch) | |
tree | e23335706e9bab377ff834863c443c7cdf205a0a /engines/scumm/imuse_digi/dimuse_track.cpp | |
parent | 9639666629ed4e41c4b0f84876ddf113d2525971 (diff) | |
download | scummvm-rg350-86714835f1603ade5d54af0e503e0b70bf2aee33.tar.gz scummvm-rg350-86714835f1603ade5d54af0e503e0b70bf2aee33.tar.bz2 scummvm-rg350-86714835f1603ade5d54af0e503e0b70bf2aee33.zip |
back to previous way of copying stream, so it continue old stream
svn-id: r30491
Diffstat (limited to 'engines/scumm/imuse_digi/dimuse_track.cpp')
-rw-r--r-- | engines/scumm/imuse_digi/dimuse_track.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/engines/scumm/imuse_digi/dimuse_track.cpp b/engines/scumm/imuse_digi/dimuse_track.cpp index cebf104a14..4cac070634 100644 --- a/engines/scumm/imuse_digi/dimuse_track.cpp +++ b/engines/scumm/imuse_digi/dimuse_track.cpp @@ -333,8 +333,6 @@ IMuseDigital::Track *IMuseDigital::cloneToFadeOutTrack(Track *track, int fadeDel return NULL; } - ImuseDigiSndMgr::SoundDesc *soundDesc = _sound->cloneSound(track->soundDesc); - assert(soundDesc); fadeTrack = _track[track->trackId + MAX_DIGITAL_TRACKS]; if (fadeTrack->used) { @@ -348,8 +346,8 @@ IMuseDigital::Track *IMuseDigital::cloneToFadeOutTrack(Track *track, int fadeDel fadeTrack->trackId = track->trackId + MAX_DIGITAL_TRACKS; // Clone the sound. - // leaving bug number for now #1635361, we need implement seek in compressed stream - fadeTrack->soundDesc = soundDesc; + // leaving bug number for now #1635361 + track->soundDesc = _sound->cloneSound(track->soundDesc); // Set the volume fading parameters to indicate a fade out fadeTrack->volFadeDelay = fadeDelay; |