summaryrefslogtreecommitdiff
path: root/servers/audio/effects/audio_effect_pitch_shift.h
diff options
context:
space:
mode:
authorJohnJLight <johnjosephlight@gmail.com>2019-03-19 14:35:57 -0400
committerRĂ©mi Verschelde <rverschelde@gmail.com>2019-06-19 15:24:31 +0200
commit38d3bfe971155bc7b0bdc8a10e059f9479d1eb5d (patch)
tree5080c8aa70ccb5c0692b3085baab4888df3ed19c /servers/audio/effects/audio_effect_pitch_shift.h
parent43a9b8c76cd185c175e9458a2b7ce972c8b84f03 (diff)
Made use of semicolons more consitent, fixed formatting
Diffstat (limited to 'servers/audio/effects/audio_effect_pitch_shift.h')
-rw-r--r--servers/audio/effects/audio_effect_pitch_shift.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/servers/audio/effects/audio_effect_pitch_shift.h b/servers/audio/effects/audio_effect_pitch_shift.h
index 0c80cb6344..2028496ebf 100644
--- a/servers/audio/effects/audio_effect_pitch_shift.h
+++ b/servers/audio/effects/audio_effect_pitch_shift.h
@@ -72,7 +72,7 @@ public:
class AudioEffectPitchShift;
class AudioEffectPitchShiftInstance : public AudioEffectInstance {
- GDCLASS(AudioEffectPitchShiftInstance, AudioEffectInstance)
+ GDCLASS(AudioEffectPitchShiftInstance, AudioEffectInstance);
friend class AudioEffectPitchShift;
Ref<AudioEffectPitchShift> base;
@@ -85,8 +85,11 @@ public:
};
class AudioEffectPitchShift : public AudioEffect {
- GDCLASS(AudioEffectPitchShift, AudioEffect)
+ GDCLASS(AudioEffectPitchShift, AudioEffect);
+
public:
+ friend class AudioEffectPitchShiftInstance;
+
enum FFT_Size {
FFT_SIZE_256,
FFT_SIZE_512,
@@ -96,9 +99,6 @@ public:
FFT_SIZE_MAX
};
-public:
- friend class AudioEffectPitchShiftInstance;
-
float pitch_scale;
int oversampling;
FFT_Size fft_size;