From b400c69cd487f70d8164dd5550eb994253d359d6 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Sun, 15 Jan 2017 16:06:14 -0300 Subject: Oops! Audio engine has vanished :D --- servers/audio/audio_effect.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 servers/audio/audio_effect.h (limited to 'servers/audio/audio_effect.h') diff --git a/servers/audio/audio_effect.h b/servers/audio/audio_effect.h new file mode 100644 index 0000000000..2fcd22251b --- /dev/null +++ b/servers/audio/audio_effect.h @@ -0,0 +1,26 @@ +#ifndef AUDIOEFFECT_H +#define AUDIOEFFECT_H + +#include "audio_frame.h" +#include "resource.h" + + +class AudioEffectInstance : public Reference { + GDCLASS(AudioEffectInstance,Reference) + +public: + + virtual void process(AudioFrame *p_frames,int p_frame_count)=0; + +}; + + +class AudioEffect : public Resource { + GDCLASS(AudioEffect,Resource) +public: + + virtual Ref instance()=0; + AudioEffect(); +}; + +#endif // AUDIOEFFECT_H -- cgit v1.2.3