diff options
author | Paweł Kołodziejski | 2003-03-07 06:41:44 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2003-03-07 06:41:44 +0000 |
commit | 26144eda33ffb819f3026836dbda8c3532207bda (patch) | |
tree | 6c0689903fee4211beecdbf5a051bcfc0d6afa2e /scumm | |
parent | 840184da0cc9f9a82ceaf049eeb2fe70657ead2e (diff) | |
download | scummvm-rg350-26144eda33ffb819f3026836dbda8c3532207bda.tar.gz scummvm-rg350-26144eda33ffb819f3026836dbda8c3532207bda.tar.bz2 scummvm-rg350-26144eda33ffb819f3026836dbda8c3532207bda.zip |
decreased sound buffer for imuse digital, bundle music, and cmi smush audio
svn-id: r6735
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/imuse_digi.cpp | 2 | ||||
-rw-r--r-- | scumm/smush/player.cpp | 2 | ||||
-rw-r--r-- | scumm/sound.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/scumm/imuse_digi.cpp b/scumm/imuse_digi.cpp index cb13f269cd..40886fef31 100644 --- a/scumm/imuse_digi.cpp +++ b/scumm/imuse_digi.cpp @@ -752,7 +752,7 @@ void IMuseDigital::handler() { if (_scumm->_silentDigitalImuse == false) { if (_channel[l]._initialized == false) { _scumm->_mixer->playStream(NULL, l, buf, mixer_size, - _channel[l]._freq, _channel[l]._mixerFlags, 3, 2000000); + _channel[l]._freq, _channel[l]._mixerFlags, 3, 300000); _channel[l]._initialized = true; } else { _scumm->_mixer->append(l, buf, mixer_size, _channel[l]._freq, _channel[l]._mixerFlags); diff --git a/scumm/smush/player.cpp b/scumm/smush/player.cpp index 2a87a60818..e3526fe11a 100644 --- a/scumm/smush/player.cpp +++ b/scumm/smush/player.cpp @@ -384,7 +384,7 @@ void SmushPlayer::handleImuseAction8(Chunk &b, int32 flags, int32 unknown, int32 if (_IACTchannel == -1) { _IACTchannel = g_scumm->_mixer->playStream(NULL, -1, output_data, 0x1000, 22050, - SoundMixer::FLAG_STEREO | SoundMixer::FLAG_16BITS); + SoundMixer::FLAG_STEREO | SoundMixer::FLAG_16BITS, -1, 200000); } else { g_scumm->_mixer->append(_IACTchannel, output_data, 0x1000, 22050, SoundMixer::FLAG_STEREO | SoundMixer::FLAG_16BITS); diff --git a/scumm/sound.cpp b/scumm/sound.cpp index 84f83a7d8a..b32e1841b7 100644 --- a/scumm/sound.cpp +++ b/scumm/sound.cpp @@ -1152,7 +1152,7 @@ void Sound::bundleMusicHandler(Scumm *scumm) { _bundleMusicPosition += final_size; if (_bundleMusicTrack == -1) { _bundleMusicTrack = _scumm->_mixer->playStream(NULL, _scumm->_mixer->_beginSlots - 1, buffer, final_size, rate, - SoundMixer::FLAG_AUTOFREE | SoundMixer::FLAG_16BITS | SoundMixer::FLAG_STEREO, -1, 2000000); + SoundMixer::FLAG_AUTOFREE | SoundMixer::FLAG_16BITS | SoundMixer::FLAG_STEREO, -1, 300000); } else { _scumm->_mixer->append(_bundleMusicTrack, buffer, final_size, rate, SoundMixer::FLAG_AUTOFREE | SoundMixer::FLAG_16BITS | SoundMixer::FLAG_STEREO); |