diff options
author | Torbjörn Andersson | 2004-05-28 14:42:49 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2004-05-28 14:42:49 +0000 |
commit | ddc104d4efb6568405c58687172ac923b238576a (patch) | |
tree | d69ad2f721ad64bc7c09b8f9389c04448c99e3ac /scumm/imuse_digi | |
parent | 126a8b91ca1947bf03525eb0112ad2f206493b60 (diff) | |
download | scummvm-rg350-ddc104d4efb6568405c58687172ac923b238576a.tar.gz scummvm-rg350-ddc104d4efb6568405c58687172ac923b238576a.tar.bz2 scummvm-rg350-ddc104d4efb6568405c58687172ac923b238576a.zip |
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
Diffstat (limited to 'scumm/imuse_digi')
-rw-r--r-- | scumm/imuse_digi/dimuse.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/imuse_digi/dimuse.cpp b/scumm/imuse_digi/dimuse.cpp index 8c9ea7a8f2..944cd32592 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); |