aboutsummaryrefslogtreecommitdiff
path: root/engines/simon/res.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2006-04-23 15:42:02 +0000
committerTorbjörn Andersson2006-04-23 15:42:02 +0000
commitbeb72667dcf1f6141d9f2e08f73cc60adad34eea (patch)
tree52cf66baaee8c5c913a11db2799ab0a5181bd84f /engines/simon/res.cpp
parent5e3e026f92cca8fb75800baa5eaf3918cb9e08ca (diff)
downloadscummvm-rg350-beb72667dcf1f6141d9f2e08f73cc60adad34eea.tar.gz
scummvm-rg350-beb72667dcf1f6141d9f2e08f73cc60adad34eea.tar.bz2
scummvm-rg350-beb72667dcf1f6141d9f2e08f73cc60adad34eea.zip
Implemented volume and panning for FF sound effects. I hope my mapping from
DirectSound's logarithmic scale to ScummVM's linear scale is at least reasonably collect. This should keep the sound effects from overpowering the spoken voices in some scenes. svn-id: r22107
Diffstat (limited to 'engines/simon/res.cpp')
-rw-r--r--engines/simon/res.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/simon/res.cpp b/engines/simon/res.cpp
index 67fa3501c2..e4ac479e7b 100644
--- a/engines/simon/res.cpp
+++ b/engines/simon/res.cpp
@@ -710,7 +710,7 @@ byte *SimonEngine::loadVGAFile(uint id, uint type, uint32 &dstSize) {
return dst;
}
-void SimonEngine::loadSound(uint sound, uint pan, uint vol, uint type) {
+void SimonEngine::loadSound(uint sound, int pan, int vol, uint type) {
byte *dst;
if (getFeatures() & GF_ZLIBCOMP) {