Fix AudioEffectCapture buffer length cannot be changed

This commit is contained in:
jmb462 2021-03-17 19:18:22 +01:00
parent 888051889e
commit b588232b83
2 changed files with 1 additions and 3 deletions

View file

@ -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;
}