aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/mixer_c.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2015-02-15 13:15:49 -0800
committerChris Robinson <[email protected]>2015-02-15 13:15:49 -0800
commit6fcaccc96414de5a0c4578b594bdc244f7b96058 (patch)
tree224cdfe8e2ce63ba1d4f4dd1bc6c99686ff69b08 /Alc/mixer_c.c
parentb4c9744d6ae8e768614ae911c69f49f7f341e94c (diff)
Don't assert the increment value in the copy32 resampler
Diffstat (limited to 'Alc/mixer_c.c')
-rw-r--r--Alc/mixer_c.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Alc/mixer_c.c b/Alc/mixer_c.c
index cd7499f0..dc7fe838 100644
--- a/Alc/mixer_c.c
+++ b/Alc/mixer_c.c
@@ -16,9 +16,8 @@ static inline ALfloat cubic32(const ALfloat *vals, ALuint frac)
{ return cubic(vals[-1], vals[0], vals[1], vals[2], frac); }
const ALfloat *Resample_copy32_C(const ALfloat *src, ALuint UNUSED(frac),
- ALuint increment, ALfloat *restrict dst, ALuint numsamples)
+ ALuint UNUSED(increment), ALfloat *restrict dst, ALuint numsamples)
{
- assert(increment==FRACTIONONE);
#if defined(HAVE_SSE) || defined(HAVE_NEON)
/* Avoid copying the source data if it's aligned like the destination. */
if((((intptr_t)src)&15) == (((intptr_t)dst)&15))