diff options
Diffstat (limited to 'alc/effects/convolution.cpp')
-rw-r--r-- | alc/effects/convolution.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/alc/effects/convolution.cpp b/alc/effects/convolution.cpp index c072653d..79a63a38 100644 --- a/alc/effects/convolution.cpp +++ b/alc/effects/convolution.cpp @@ -174,8 +174,7 @@ struct ConvolutionState final : public EffectState { void (ConvolutionState::*mMix)(const al::span<FloatBufferLine>,const size_t) {&ConvolutionState::NormalMix}; - void deviceUpdate(const ALCdevice *device) override; - void setBuffer(const ALCdevice *device, const BufferStorage *buffer) override; + void deviceUpdate(const ALCdevice *device, const BufferStorage *buffer) override; void update(const ALCcontext *context, const EffectSlot *slot, const EffectProps *props, const EffectTarget target) override; void process(const size_t samplesToDo, const al::span<const FloatBufferLine> samplesIn, @@ -204,11 +203,7 @@ void ConvolutionState::UpsampleMix(const al::span<FloatBufferLine> samplesOut, } -void ConvolutionState::deviceUpdate(const ALCdevice* /*device*/) -{ -} - -void ConvolutionState::setBuffer(const ALCdevice *device, const BufferStorage *buffer) +void ConvolutionState::deviceUpdate(const ALCdevice *device, const BufferStorage *buffer) { constexpr uint MaxConvolveAmbiOrder{1u}; |