Merge pull request #62136 from madmiraal/fix-60712

This commit is contained in:
Rémi Verschelde 2022-06-17 12:46:40 +02:00 committed by GitHub
commit 8b66a12820
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 5 deletions

View File

@ -71,8 +71,6 @@ bool AudioEffectRecordInstance::process_silence() const {
}
void AudioEffectRecordInstance::_io_thread_process() {
thread_active = true;
while (is_recording) {
//Check: The current recording has been requested to stop
if (!base->recording_active) {
@ -86,8 +84,6 @@ void AudioEffectRecordInstance::_io_thread_process() {
OS::get_singleton()->delay_usec(500);
}
}
thread_active = false;
}
void AudioEffectRecordInstance::_io_store_buffer() {

View File

@ -48,7 +48,6 @@ class AudioEffectRecordInstance : public AudioEffectInstance {
bool is_recording;
Thread io_thread;
bool thread_active = false;
Vector<AudioFrame> ring_buffer;
Vector<float> recording_data;