diff options
author | jmb462 <jmb462@gmail.com> | 2021-03-17 19:18:22 +0100 |
---|---|---|
committer | jmb462 <jmb462@gmail.com> | 2021-03-17 23:07:38 +0100 |
commit | b588232b8328d129133ee75db40d0569aa45787a (patch) | |
tree | b9d8cf53e9b464392f6fcb398984c755cad34d59 /servers/audio | |
parent | 888051889ed0b63a6b88d3a7e0c2bfbbacde7b4b (diff) |
Fix AudioEffectCapture buffer length cannot be changed
Diffstat (limited to 'servers/audio')
-rw-r--r-- | servers/audio/effects/audio_effect_capture.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/servers/audio/effects/audio_effect_capture.cpp b/servers/audio/effects/audio_effect_capture.cpp index 37e4122e50..78837c7531 100644 --- a/servers/audio/effects/audio_effect_capture.cpp +++ b/servers/audio/effects/audio_effect_capture.cpp @@ -91,8 +91,6 @@ Ref<AudioEffectInstance> AudioEffectCapture::instance() { } void AudioEffectCapture::set_buffer_length(float p_buffer_length_seconds) { - ERR_FAIL_COND(buffer_initialized); - buffer_length_seconds = p_buffer_length_seconds; } |