summaryrefslogtreecommitdiff
path: root/servers/audio/effects/audio_effect_panner.h
diff options
context:
space:
mode:
Diffstat (limited to 'servers/audio/effects/audio_effect_panner.h')
-rw-r--r--servers/audio/effects/audio_effect_panner.h18
1 files changed, 6 insertions, 12 deletions
diff --git a/servers/audio/effects/audio_effect_panner.h b/servers/audio/effects/audio_effect_panner.h
index 999b5f5649..19bef45f1e 100644
--- a/servers/audio/effects/audio_effect_panner.h
+++ b/servers/audio/effects/audio_effect_panner.h
@@ -34,29 +34,24 @@
class AudioEffectPanner;
class AudioEffectPannerInstance : public AudioEffectInstance {
- GDCLASS(AudioEffectPannerInstance,AudioEffectInstance)
-friend class AudioEffectPanner;
+ GDCLASS(AudioEffectPannerInstance, AudioEffectInstance)
+ friend class AudioEffectPanner;
Ref<AudioEffectPanner> base;
public:
-
- virtual void process(const AudioFrame *p_src_frames,AudioFrame *p_dst_frames,int p_frame_count);
-
+ virtual void process(const AudioFrame *p_src_frames, AudioFrame *p_dst_frames, int p_frame_count);
};
-
class AudioEffectPanner : public AudioEffect {
- GDCLASS(AudioEffectPanner,AudioEffect)
+ GDCLASS(AudioEffectPanner, AudioEffect)
-friend class AudioEffectPannerInstance;
+ friend class AudioEffectPannerInstance;
float pan;
protected:
-
static void _bind_methods();
-public:
-
+public:
Ref<AudioEffectInstance> instance();
void set_pan(float p_volume);
float get_pan() const;
@@ -64,5 +59,4 @@ public:
AudioEffectPanner();
};
-
#endif // AUDIOEFFECTPANNER_H