mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-03-18 00:42:25 +00:00
Undo some debugging code
This commit is contained in:
parent
396ff706ed
commit
e052ab19a2
2 changed files with 2 additions and 7 deletions
|
@ -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"};
|
||||
|
|
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue