Remove debug check

This commit is contained in:
Eric Wasylishen 2011-01-19 23:18:37 -07:00
parent 109bfc1ccf
commit be88ebbf15

View file

@ -79,13 +79,6 @@ sfxcache_t *S_LoadSound (sfx_t *s)
info.rate, info.width, info.samples, info.channels, data,
shm->speed, shm->samplebits/8, &resampledNumSamples);
// FIXME: remove
if (info.rate == shm->speed && info.width == shm->samplebits/8)
{
if (resampledNumSamples != info.samples) exit(5);
if (0 != memcmp(data, resampled, (info.width * info.samples * info.channels))) exit(6);
}
len = resampledNumSamples * (shm->samplebits/8) * info.channels;
// set up the sample struct