diff options
Diffstat (limited to 'servers/audio/audio_effect.h')
-rw-r--r-- | servers/audio/audio_effect.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/servers/audio/audio_effect.h b/servers/audio/audio_effect.h index db3ec91195..6981cf0db7 100644 --- a/servers/audio/audio_effect.h +++ b/servers/audio/audio_effect.h @@ -32,22 +32,17 @@ #include "audio_frame.h" #include "resource.h" - class AudioEffectInstance : public Reference { - GDCLASS(AudioEffectInstance,Reference) + GDCLASS(AudioEffectInstance, Reference) public: - - virtual void process(const AudioFrame *p_src_frames,AudioFrame *p_dst_frames,int p_frame_count)=0; - + virtual void process(const AudioFrame *p_src_frames, AudioFrame *p_dst_frames, int p_frame_count) = 0; }; - class AudioEffect : public Resource { - GDCLASS(AudioEffect,Resource) + GDCLASS(AudioEffect, Resource) public: - - virtual Ref<AudioEffectInstance> instance()=0; + virtual Ref<AudioEffectInstance> instance() = 0; AudioEffect(); }; |