diff options
author | Poommetee Ketson <poommetee@protonmail.com> | 2017-09-25 19:41:32 +0700 |
---|---|---|
committer | Poommetee Ketson <poommetee@protonmail.com> | 2017-09-25 19:41:32 +0700 |
commit | 09800ac65079599c568679b53962a313182885ea (patch) | |
tree | 5a8405aca70dab8fb201ebc55aca0688a24af087 | |
parent | e9a89efcf822d260b033dcd02127c5874511d01a (diff) |
AudioEffectLimiter: fix wrong soft_clip_ratio getter
-rw-r--r-- | servers/audio/effects/audio_effect_limiter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/audio/effects/audio_effect_limiter.cpp b/servers/audio/effects/audio_effect_limiter.cpp index 9787ba8109..c50dd804f2 100644 --- a/servers/audio/effects/audio_effect_limiter.cpp +++ b/servers/audio/effects/audio_effect_limiter.cpp @@ -110,7 +110,7 @@ void AudioEffectLimiter::set_soft_clip_ratio(float p_soft_clip) { } float AudioEffectLimiter::get_soft_clip_ratio() const { - return soft_clip; + return soft_clip_ratio; } void AudioEffectLimiter::_bind_methods() { |