aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Kołodziejski2004-04-26 08:58:03 +0000
committerPaweł Kołodziejski2004-04-26 08:58:03 +0000
commit883fdfdb7caba62c07dcc8bdaf59a4fc2e75f3fb (patch)
treeb8e141b6c634d41d374e3b1e519dd652f51e982f
parent2ee813b7c2f5a5b1f5536bd67fdb1624eb3bb8a3 (diff)
downloadscummvm-rg350-883fdfdb7caba62c07dcc8bdaf59a4fc2e75f3fb.tar.gz
scummvm-rg350-883fdfdb7caba62c07dcc8bdaf59a4fc2e75f3fb.tar.bz2
scummvm-rg350-883fdfdb7caba62c07dcc8bdaf59a4fc2e75f3fb.zip
rename
svn-id: r13638
-rw-r--r--scumm/imuse_digi/dimuse_track.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/scumm/imuse_digi/dimuse_track.cpp b/scumm/imuse_digi/dimuse_track.cpp
index 298ae5bc25..ab8aba99e4 100644
--- a/scumm/imuse_digi/dimuse_track.cpp
+++ b/scumm/imuse_digi/dimuse_track.cpp
@@ -161,10 +161,10 @@ void IMuseDigital::startSound(int soundId, const char *soundName, int soundType,
_track[l]->stream = NULL;
_track[l]->started = false;
} else {
- // setup 1 second mixer wrapped buffer
- int32 mixerBufferSize = _track[l]->iteration;
+ // setup 1 second stream wrapped buffer
+ int32 streamBufferSize = _track[l]->iteration;
_track[l]->stream2 = NULL;
- _track[l]->stream = makeAppendableAudioStream(freq, _track[l]->mixerFlags, mixerBufferSize);
+ _track[l]->stream = makeAppendableAudioStream(freq, _track[l]->mixerFlags, streamBufferSize);
_vm->_mixer->playInputStream(&_track[l]->handle, _track[l]->stream, false, _track[l]->vol / 1000, _track[l]->pan, -1);
_track[l]->started = true;
}
@@ -305,9 +305,9 @@ int IMuseDigital::cloneToFadeOutTrack(int track, int fadeDelay, int killNormalTr
_track[track]->used = false;
} else {
_track[track]->soundHandle = _sound->cloneSound(_track[fadeTrack]->soundHandle);
- // setup 1 second mixer wrapped buffer
- int32 mixerBufferSize = _track[track]->iteration;
- _track[track]->stream = makeAppendableAudioStream(_sound->getFreq(_track[track]->soundHandle), _track[track]->mixerFlags, mixerBufferSize);
+ // setup 1 second stream wrapped buffer
+ int32 streamBufferSize = _track[track]->iteration;
+ _track[track]->stream = makeAppendableAudioStream(_sound->getFreq(_track[track]->soundHandle), _track[track]->mixerFlags, streamBufferSize);
_vm->_mixer->playInputStream(&_track[track]->handle, _track[track]->stream, false, _track[track]->vol / 1000, _track[track]->pan, -1);
_track[track]->started = true;
}