mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-03-18 00:42:25 +00:00
Remove debug check
This commit is contained in:
parent
109bfc1ccf
commit
be88ebbf15
1 changed files with 0 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue