You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Add extra latency to microphone playback to reduce clipping.
This commit is contained in:
@@ -122,6 +122,8 @@ class AudioStreamPlaybackMicrophone : public AudioStreamPlaybackResampled {
|
||||
GDCLASS(AudioStreamPlaybackMicrophone, AudioStreamPlayback)
|
||||
friend class AudioStreamMicrophone;
|
||||
|
||||
const int MICROPHONE_PLAYBACK_DELAY = 256;
|
||||
|
||||
bool active;
|
||||
unsigned int input_ofs;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user