From: Anton Baskanov <baskanov@gmail.com> --- dlls/dsound/mixer.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/dlls/dsound/mixer.c b/dlls/dsound/mixer.c index ac8ab72e0f9..ab351d2c9cb 100644 --- a/dlls/dsound/mixer.c +++ b/dlls/dsound/mixer.c @@ -386,9 +386,6 @@ static UINT cp_fields_resample(IDirectSoundBufferImpl *dsb, UINT count, LONG64 * float sum = 0.0; float* cache = &intermediate[channel * required_input + ipos]; - assert(fir_used <= fir_cachesize); - assert(ipos + fir_used <= required_input); - for (j = 0; j < fir_used; j++) sum += (fir[idx + j * dsbfirstep] * (1.0f - rem) + fir[idx + j * dsbfirstep + 1] * rem) * cache[j]; output[channel * count + i] = sum * dsb->firgain; -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/10182