summaryrefslogtreecommitdiffstats
path: root/servers/audio/effects/audio_effect_limiter.h
diff options
context:
space:
mode:
authorPoommetee Ketson <poommetee@protonmail.com>2017-07-08 22:12:18 +0700
committerPoommetee Ketson <poommetee@protonmail.com>2017-07-08 22:24:56 +0700
commit2fd204c35e6883d36d4c15adbe6725ffffd73c6f (patch)
tree2d1c630fe0f08014cfe8cca04fab9b1082c31aeb /servers/audio/effects/audio_effect_limiter.h
parent0067982f5ece3145c00e2f4c0bc092d1ec28c8b3 (diff)
downloadredot-engine-2fd204c35e6883d36d4c15adbe6725ffffd73c6f.tar.gz
Refactor 'treshold' to 'threshold'
Diffstat (limited to 'servers/audio/effects/audio_effect_limiter.h')
-rw-r--r--servers/audio/effects/audio_effect_limiter.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/servers/audio/effects/audio_effect_limiter.h b/servers/audio/effects/audio_effect_limiter.h
index a684eccbfa..e15ffe5b34 100644
--- a/servers/audio/effects/audio_effect_limiter.h
+++ b/servers/audio/effects/audio_effect_limiter.h
@@ -49,7 +49,7 @@ class AudioEffectLimiter : public AudioEffect {
GDCLASS(AudioEffectLimiter, AudioEffect)
friend class AudioEffectLimiterInstance;
- float treshold;
+ float threshold;
float ceiling;
float soft_clip;
float soft_clip_ratio;
@@ -58,8 +58,8 @@ protected:
static void _bind_methods();
public:
- void set_treshold_db(float p_treshold);
- float get_treshold_db() const;
+ void set_threshold_db(float p_threshold);
+ float get_threshold_db() const;
void set_ceiling_db(float p_ceiling);
float get_ceiling_db() const;