aboutsummaryrefslogtreecommitdiff
path: root/sword2
diff options
context:
space:
mode:
authorTorbjörn Andersson2004-01-01 15:15:47 +0000
committerTorbjörn Andersson2004-01-01 15:15:47 +0000
commit033a847e7769ce46a13fbcdd58230d22623600f7 (patch)
treeb8e4e7804ec80cb6217b2d2394e8324a54bdb18d /sword2
parentf84500897200ad1825301286c8b1bfaeecf3a8ab (diff)
downloadscummvm-rg350-033a847e7769ce46a13fbcdd58230d22623600f7.tar.gz
scummvm-rg350-033a847e7769ce46a13fbcdd58230d22623600f7.tar.bz2
scummvm-rg350-033a847e7769ce46a13fbcdd58230d22623600f7.zip
Oops, that was the wrong data type. (Not that it should matter, but...)
svn-id: r12069
Diffstat (limited to 'sword2')
-rw-r--r--sword2/driver/d_sound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sword2/driver/d_sound.cpp b/sword2/driver/d_sound.cpp
index 951cd9ebba..563433eac4 100644
--- a/sword2/driver/d_sound.cpp
+++ b/sword2/driver/d_sound.cpp
@@ -980,7 +980,7 @@ void Sound::updateCompSampleStreaming(int16 *data, uint len) {
if (!_music[i]._streaming || _music[i]._paused)
continue;
- st_sample_t volume = _musicMuted ? 0 : musicVolTable[_musicVol];
+ st_volume_t volume = _musicMuted ? 0 : musicVolTable[_musicVol];
fpMus.seek(_music[i]._filePos, SEEK_SET);
_converter->flow(_music[i], data, len, volume, volume);