summaryrefslogtreecommitdiff
path: root/mixer.c
diff options
context:
space:
mode:
authorDarkvater <Darkvater@openttd.org>2006-11-18 00:14:43 +0000
committerDarkvater <Darkvater@openttd.org>2006-11-18 00:14:43 +0000
commit1a87a33911c26b69a1143709410a7837d84e24cd (patch)
tree75a3954c33043c724e452fafd6ef0b60291b6eb6 /mixer.c
parent20cf41522e61a34b97f7f24487dd67231a929bef (diff)
downloadopenttd-1a87a33911c26b69a1143709410a7837d84e24cd.tar.xz
(svn r7200) -Codechange: remove unneeded redraw (console.c), coding style, use FindWindowById
instead of _windows loop (viewport.c), remove dump-code (mixer.c), MSVC6 borkdness in stdafx.h, constness (viewport.c), variable localization (win32.c), comments (window.c)
Diffstat (limited to 'mixer.c')
-rw-r--r--mixer.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/mixer.c b/mixer.c
index 91390ff73..5b97afbf9 100644
--- a/mixer.c
+++ b/mixer.c
@@ -89,15 +89,6 @@ void MxMixSamples(void *buffer, uint samples)
if (mc->samples_left == 0) MxCloseChannel(mc);
}
}
-
- #if 0
- {
- static FILE *out = NULL;
- if (out == NULL)
- out = fopen("d:\\dump.raw", "wb");
- fwrite(buffer, samples * 4, 1, out);
- }
- #endif
}
MixerChannel *MxAllocateChannel(void)