mirror of
https://github.com/godotengine/godot.git
synced 2024-12-27 05:12:44 +00:00
27 lines
467 B
C++
27 lines
467 B
C++
#ifndef AUDIOEFFECT_H
|
|
#define AUDIOEFFECT_H
|
|
|
|
#include "audio_frame.h"
|
|
#include "resource.h"
|
|
|
|
|
|
class AudioEffectInstance : public Reference {
|
|
GDCLASS(AudioEffectInstance,Reference)
|
|
|
|
public:
|
|
|
|
virtual void process(const AudioFrame *p_src_frames,AudioFrame *p_dst_frames,int p_frame_count)=0;
|
|
|
|
};
|
|
|
|
|
|
class AudioEffect : public Resource {
|
|
GDCLASS(AudioEffect,Resource)
|
|
public:
|
|
|
|
virtual Ref<AudioEffectInstance> instance()=0;
|
|
AudioEffect();
|
|
};
|
|
|
|
#endif // AUDIOEFFECT_H
|