summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPoommetee Ketson <poommetee@protonmail.com>2017-09-25 19:41:32 +0700
committerPoommetee Ketson <poommetee@protonmail.com>2017-09-25 19:41:32 +0700
commit09800ac65079599c568679b53962a313182885ea (patch)
tree5a8405aca70dab8fb201ebc55aca0688a24af087
parente9a89efcf822d260b033dcd02127c5874511d01a (diff)
AudioEffectLimiter: fix wrong soft_clip_ratio getter
-rw-r--r--servers/audio/effects/audio_effect_limiter.cpp2
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() {