Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Microphone delay -> Sync Mic recording & playback buffers + play AudioSource right after recording started #116

Merged
merged 1 commit into from
Oct 25, 2024

Conversation

sierpinskid
Copy link
Member

Play() AudioSource right after Microphone.Start to keep mic write pos and audio source read pos in sync + force sync mic write pos and audio source read pos per frame if they get out of sync + wait for microphone to get ready before playing the audio source to reduce starting latency of reading the audio source

… and audio source read pos in sync + force sync mic write pos and audio source read pos per frame if they get out of sync + wait for microphone to get ready before playing the audio source to reduce starting latency of reading the audio source
@sierpinskid sierpinskid merged commit 1a5059b into main Oct 25, 2024
4 checks passed
@sierpinskid sierpinskid deleted the PBE-6272-Reduce-microphone-delay-attempt branch October 25, 2024 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant