From e052ab19a2760fc136f7c8fd6fd8faf548ba4035 Mon Sep 17 00:00:00 2001 From: Eric Wasylishen Date: Wed, 19 Jan 2011 14:44:48 -0700 Subject: [PATCH] Undo some debugging code --- Quake/snd_dma.c | 2 +- Quake/snd_resample.c | 7 +------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/Quake/snd_dma.c b/Quake/snd_dma.c index fca9a868..70c7de48 100644 --- a/Quake/snd_dma.c +++ b/Quake/snd_dma.c @@ -78,7 +78,7 @@ cvar_t sfxvolume = {"volume", "0.7", true}; cvar_t nosound = {"nosound", "0"}; cvar_t precache = {"precache", "1"}; -cvar_t loadas8bit = {"loadas8bit", "1"}; +cvar_t loadas8bit = {"loadas8bit", "0"}; cvar_t bgmbuffer = {"bgmbuffer", "4096"}; cvar_t ambient_level = {"ambient_level", "0.3"}; cvar_t ambient_fade = {"ambient_fade", "100"}; diff --git a/Quake/snd_resample.c b/Quake/snd_resample.c index 6bbd4c4a..25510011 100644 --- a/Quake/snd_resample.c +++ b/Quake/snd_resample.c @@ -93,7 +93,7 @@ void *Snd_Resample(void *handle, { struct resampler *data = (struct resampler *)handle; - int old_inrate, old_outrate; + unsigned int old_inrate, old_outrate; speex_resampler_get_rate(data->st, &old_inrate, &old_outrate); if (data->channels != channels) { @@ -119,11 +119,6 @@ void *Snd_Resample(void *handle, } *outnumsamples = outputtotal; - - if (*outnumsamples != (innumsamples / frac)) - { - Con_Printf("Output %d, predicted %d\n", *outnumsamples, (innumsamples / frac)); - } }