Skip to content

Commit 3c0211a

Browse files
fix - Audio input gets muted after a while on android #86428
1 parent 680e489 commit 3c0211a

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
@@ -353,9 +353,6 @@ int AudioStreamPlaybackMicrophone::_mix_internal(AudioFrame *p_buffer, int p_fra
353353

354354
p_buffer[i] = AudioFrame(l, r);
355355
} else {
356-
if (mixed_frames == p_frames) {
357-
mixed_frames = i;
358-
}
359356
p_buffer[i] = AudioFrame(0.0f, 0.0f);
360357
}
361358
}

0 commit comments

Comments
 (0)