Skip to content

Commit c9096e1

Browse files
committed
Merge pull request #93200 from AndreiPetrov890/fix-android-microphone
Fix audio input gets muted after a while on android
2 parents 159133e + 3c0211a commit c9096e1

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

servers/audio/audio_stream.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -425,9 +425,6 @@ int AudioStreamPlaybackMicrophone::_mix_internal(AudioFrame *p_buffer, int p_fra
425425

426426
p_buffer[i] = AudioFrame(l, r);
427427
} else {
428-
if (mixed_frames == p_frames) {
429-
mixed_frames = i;
430-
}
431428
p_buffer[i] = AudioFrame(0.0f, 0.0f);
432429
}
433430
}

0 commit comments

Comments
 (0)