summaryrefslogtreecommitdiff
path: root/servers/audio/audio_effect.h
diff options
context:
space:
mode:
Diffstat (limited to 'servers/audio/audio_effect.h')
-rw-r--r--servers/audio/audio_effect.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/servers/audio/audio_effect.h b/servers/audio/audio_effect.h
index 4556db9b93..bea7292b8e 100644
--- a/servers/audio/audio_effect.h
+++ b/servers/audio/audio_effect.h
@@ -34,8 +34,8 @@
#include "core/io/resource.h"
#include "core/math/audio_frame.h"
-class AudioEffectInstance : public Reference {
- GDCLASS(AudioEffectInstance, Reference);
+class AudioEffectInstance : public RefCounted {
+ GDCLASS(AudioEffectInstance, RefCounted);
public:
virtual void process(const AudioFrame *p_src_frames, AudioFrame *p_dst_frames, int p_frame_count) = 0;
@@ -46,7 +46,7 @@ class AudioEffect : public Resource {
GDCLASS(AudioEffect, Resource);
public:
- virtual Ref<AudioEffectInstance> instance() = 0;
+ virtual Ref<AudioEffectInstance> instantiate() = 0;
AudioEffect();
};