From ddc104d4efb6568405c58687172ac923b238576a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torbj=C3=B6rn=20Andersson?= Date: Fri, 28 May 2004 14:42:49 +0000 Subject: [PATCH] Use the same volume and panning values when starting the sound as when adjusting these values later. I don't know about the volume thing, but I've noticed that new sounds would often play their first fraction of a second in the right speaker only. This change should fix that. svn-id: r13896 --- scumm/imuse_digi/dimuse.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scumm/imuse_digi/dimuse.cpp b/scumm/imuse_digi/dimuse.cpp index 8c9ea7a8f22..944cd325920 100644 --- a/scumm/imuse_digi/dimuse.cpp +++ b/scumm/imuse_digi/dimuse.cpp @@ -202,7 +202,7 @@ void IMuseDigital::callback() { if (track->stream2) { if (!track->started) { track->started = true; - _vm->_mixer->playInputStream(&track->handle, track->stream2, false, track->vol / 1000, track->pan, -1, false); + _vm->_mixer->playInputStream(&track->handle, track->stream2, false, vol, pan, -1, false); } else { _vm->_mixer->setChannelVolume(track->handle, vol); _vm->_mixer->setChannelBalance(track->handle, pan);