Undo some debugging code

This commit is contained in:
Eric Wasylishen 2011-01-19 14:44:48 -07:00
parent 396ff706ed
commit e052ab19a2
2 changed files with 2 additions and 7 deletions

View File

@ -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"};

View File

@ -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));
}
}