aboutsummaryrefslogtreecommitdiff
path: root/sound/mixer.cpp
diff options
context:
space:
mode:
authorJames Brown2002-04-19 15:15:47 +0000
committerJames Brown2002-04-19 15:15:47 +0000
commit32d213bc1250ddb7dfff23be641961d26ebaa7b6 (patch)
tree24a63d890923085c94e1fcbda904e2fa5ab446fe /sound/mixer.cpp
parenteb1ce63f086ae65288d93e10f71002e6351ae5c0 (diff)
downloadscummvm-rg350-32d213bc1250ddb7dfff23be641961d26ebaa7b6.tar.gz
scummvm-rg350-32d213bc1250ddb7dfff23be641961d26ebaa7b6.tar.bz2
scummvm-rg350-32d213bc1250ddb7dfff23be641961d26ebaa7b6.zip
Remove left over debug line. BBrox is anally retentive.
svn-id: r4011
Diffstat (limited to 'sound/mixer.cpp')
-rw-r--r--sound/mixer.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/mixer.cpp b/sound/mixer.cpp
index 1a84590f6a..2ed358d2fe 100644
--- a/sound/mixer.cpp
+++ b/sound/mixer.cpp
@@ -65,8 +65,7 @@ void SoundMixer::on_generate_samples(void *s, byte *samples, int len) {
((SoundMixer*)s)->mix((int16*)samples, len>>1);
}
-bool SoundMixer::bind_to_system(OSystem *syst) {
- //_volume_table = (int16*)malloc(256 * sizeof(int16));
+bool SoundMixer::bind_to_system(OSystem *syst) {
_volume_table = (int16*)calloc(256*sizeof(int16),1);
uint rate = (uint)syst->property(OSystem::PROP_GET_SAMPLE_RATE, 0);