diff options
Diffstat (limited to 'alc/effects/compressor.cpp')
-rw-r--r-- | alc/effects/compressor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/alc/effects/compressor.cpp b/alc/effects/compressor.cpp index 4e2f2098..393bb93f 100644 --- a/alc/effects/compressor.cpp +++ b/alc/effects/compressor.cpp @@ -49,7 +49,7 @@ struct CompressorState final : public EffectState { float mEnvFollower{1.0f}; - void deviceUpdate(const ALCdevice *device, const BufferStorage *buffer) override; + void deviceUpdate(const ALCdevice *device, const Buffer &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, @@ -58,7 +58,7 @@ struct CompressorState final : public EffectState { DEF_NEWDEL(CompressorState) }; -void CompressorState::deviceUpdate(const ALCdevice *device, const BufferStorage* /*buffer*/) +void CompressorState::deviceUpdate(const ALCdevice *device, const Buffer&) { /* Number of samples to do a full attack and release (non-integer sample * counts are okay). |