aboutsummaryrefslogtreecommitdiff
path: root/sound/softsynth
diff options
context:
space:
mode:
authorJohannes Schickel2010-10-29 00:40:57 +0000
committerJohannes Schickel2010-10-29 00:40:57 +0000
commit62c5f4f8e5bc7595d2eea735f38b8eb427b4dd7d (patch)
tree23d4f3a74e441fb87b7d2d604d883c2a8841e005 /sound/softsynth
parent07e9c6a03558a12a2445a467f034f5f211397763 (diff)
downloadscummvm-rg350-62c5f4f8e5bc7595d2eea735f38b8eb427b4dd7d.tar.gz
scummvm-rg350-62c5f4f8e5bc7595d2eea735f38b8eb427b4dd7d.tar.bz2
scummvm-rg350-62c5f4f8e5bc7595d2eea735f38b8eb427b4dd7d.zip
MT32: Remove useless cast.
svn-id: r53916
Diffstat (limited to 'sound/softsynth')
-rw-r--r--sound/softsynth/mt32/tables.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/softsynth/mt32/tables.cpp b/sound/softsynth/mt32/tables.cpp
index b0414154dc..722a5e3c41 100644
--- a/sound/softsynth/mt32/tables.cpp
+++ b/sound/softsynth/mt32/tables.cpp
@@ -587,7 +587,7 @@ File *Tables::initNote(Synth *synth, NoteLookup *noteLookup, float note, float r
initSaw(noteLookup, noteLookup->div2);
//synth->printDebug("Note %f; freq=%f, div=%f", note, freq, rate / freq);
- file = initWave(synth, noteLookup, (const float)WGAMP, div2, file);
+ file = initWave(synth, noteLookup, WGAMP, div2, file);
// Create the pitch tables
if (noteLookup->wavTable == NULL)