1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Merge pull request #93200 from AndreiPetrov890/fix-android-microphone

Fix audio input gets muted after a while on android
This commit is contained in:
Thaddeus Crews
2025-08-03 10:51:13 -05:00

View File

@@ -425,9 +425,6 @@ int AudioStreamPlaybackMicrophone::_mix_internal(AudioFrame *p_buffer, int p_fra
p_buffer[i] = AudioFrame(l, r); p_buffer[i] = AudioFrame(l, r);
} else { } else {
if (mixed_frames == p_frames) {
mixed_frames = i;
}
p_buffer[i] = AudioFrame(0.0f, 0.0f); p_buffer[i] = AudioFrame(0.0f, 0.0f);
} }
} }