You've already forked godot
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:
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user