From c83f0c2d0885479ac03edc5b0759db19f6794163 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sat, 19 Apr 2008 16:41:58 +0000 Subject: Fix build problem when libsamplerate support is enabled. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1124 --- src/i_sdlsound.c | 74 +++++++++++++++++++++++++++++--------------------------- 1 file changed, 39 insertions(+), 35 deletions(-) (limited to 'src') diff --git a/src/i_sdlsound.c b/src/i_sdlsound.c index 6f756987..429581e2 100644 --- a/src/i_sdlsound.c +++ b/src/i_sdlsound.c @@ -216,41 +216,6 @@ static uint32_t ExpandSoundData_SRC(byte *data, return clipped; } -// Preload all the sound effects - stops nasty ingame freezes - -static void I_PrecacheSounds(void) -{ - char namebuf[9]; - int i; - - printf("I_PrecacheSounds: Precaching all sound effects.."); - - for (i=sfx_pistol; i