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