diff options
Diffstat (limited to 'alc/effects/chorus.cpp')
-rw-r--r-- | alc/effects/chorus.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/effects/chorus.cpp b/alc/effects/chorus.cpp index 0e3c9d89..59e05be0 100644 --- a/alc/effects/chorus.cpp +++ b/alc/effects/chorus.cpp @@ -139,7 +139,7 @@ ALboolean ChorusState::deviceUpdate(const ALCdevice *Device) void ChorusState::update(const ALCcontext *Context, const ALeffectslot *Slot, const EffectProps *props, const EffectTarget target) { - constexpr ALsizei mindelay{MAX_RESAMPLE_PADDING << FRACTIONBITS}; + constexpr ALsizei mindelay{(MAX_RESAMPLER_PADDING>>1) << FRACTIONBITS}; switch(props->Chorus.Waveform) { |