diff options
author | Chris Robinson <[email protected]> | 2021-01-24 02:07:39 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2021-01-24 02:07:39 -0800 |
commit | 13c1d7efb7141aee93d32a60c0e609e61a64f550 (patch) | |
tree | c788c53507811f8adb8a33ee668c014f66d9b8fa /alc/effects/null.cpp | |
parent | 3142fb30eaa451c955a1607b8cffe2069cbd15b2 (diff) |
Store buffer info in the queue entry
Diffstat (limited to 'alc/effects/null.cpp')
-rw-r--r-- | alc/effects/null.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/alc/effects/null.cpp b/alc/effects/null.cpp index 9608f48a..9d589285 100644 --- a/alc/effects/null.cpp +++ b/alc/effects/null.cpp @@ -15,7 +15,7 @@ struct NullState final : public EffectState { NullState(); ~NullState() override; - 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, @@ -39,7 +39,7 @@ NullState::~NullState() = default; * format) have been changed. Will always be followed by a call to the update * method, if successful. */ -void NullState::deviceUpdate(const ALCdevice* /*device*/, const BufferStorage* /*buffer*/) +void NullState::deviceUpdate(const ALCdevice* /*device*/, const Buffer& /*buffer*/) { } |