aboutsummaryrefslogtreecommitdiffstats
path: root/alc/effects/equalizer.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2023-04-04 10:15:54 -0700
committerChris Robinson <[email protected]>2023-04-04 10:15:54 -0700
commit9062721fa84322d794e9676974ad1a3e82913b91 (patch)
treefcaa5a57eca644c66ee6802a19e0614be8d12c0e /alc/effects/equalizer.cpp
parent2c82778f93a2104632702b04bf6f1c6a15c53612 (diff)
Simplify effect state buffer handling some
Diffstat (limited to 'alc/effects/equalizer.cpp')
-rw-r--r--alc/effects/equalizer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/alc/effects/equalizer.cpp b/alc/effects/equalizer.cpp
index 9d7cccef..50bec4ad 100644
--- a/alc/effects/equalizer.cpp
+++ b/alc/effects/equalizer.cpp
@@ -100,7 +100,7 @@ struct EqualizerState final : public EffectState {
alignas(16) FloatBufferLine mSampleBuffer{};
- void deviceUpdate(const DeviceBase *device, const Buffer &buffer) override;
+ void deviceUpdate(const DeviceBase *device, const BufferStorage *buffer) override;
void update(const ContextBase *context, const EffectSlot *slot, const EffectProps *props,
const EffectTarget target) override;
void process(const size_t samplesToDo, const al::span<const FloatBufferLine> samplesIn,
@@ -109,7 +109,7 @@ struct EqualizerState final : public EffectState {
DEF_NEWDEL(EqualizerState)
};
-void EqualizerState::deviceUpdate(const DeviceBase*, const Buffer&)
+void EqualizerState::deviceUpdate(const DeviceBase*, const BufferStorage*)
{
for(auto &e : mChans)
{