diff options
Diffstat (limited to 'alc/effects/echo.cpp')
-rw-r--r-- | alc/effects/echo.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/alc/effects/echo.cpp b/alc/effects/echo.cpp index fc33c853..b84e501a 100644 --- a/alc/effects/echo.cpp +++ b/alc/effects/echo.cpp @@ -155,7 +155,8 @@ void EchoState::process(const size_t samplesToDo, const al::span<const FloatBuff struct EchoStateFactory final : public EffectStateFactory { - EffectState *create() override { return new EchoState{}; } + al::intrusive_ptr<EffectState> create() override + { return al::intrusive_ptr<EffectState>{new EchoState{}}; } }; } // namespace |