From 2fd204c35e6883d36d4c15adbe6725ffffd73c6f Mon Sep 17 00:00:00 2001 From: Poommetee Ketson Date: Sat, 8 Jul 2017 22:12:18 +0700 Subject: Refactor 'treshold' to 'threshold' --- servers/audio/effects/audio_effect_compressor.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'servers/audio/effects/audio_effect_compressor.h') diff --git a/servers/audio/effects/audio_effect_compressor.h b/servers/audio/effects/audio_effect_compressor.h index a624370962..550302056c 100644 --- a/servers/audio/effects/audio_effect_compressor.h +++ b/servers/audio/effects/audio_effect_compressor.h @@ -51,7 +51,7 @@ class AudioEffectCompressor : public AudioEffect { GDCLASS(AudioEffectCompressor, AudioEffect) friend class AudioEffectCompressorInstance; - float treshold; + float threshold; float ratio; float gain; float attack_us; @@ -66,8 +66,8 @@ protected: public: Ref instance(); - void set_treshold(float p_treshold); - float get_treshold() const; + void set_threshold(float p_threshold); + float get_threshold() const; void set_ratio(float p_ratio); float get_ratio() const; -- cgit v1.2.3