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

SherpaOnnxVadAsr: Offload runSecondPass to background thread for improved real-time audio processing #1638

Merged
merged 1 commit into from
Dec 24, 2024

Conversation

rominf
Copy link
Contributor

@rominf rominf commented Dec 21, 2024

This change ensures that the main audio processing loop is not blocked by long-running operations in runSecondPass, improving responsiveness and reducing the risk of missing parts of input speech.

…oved real-time audio processing

This change ensures that the main audio processing loop is not blocked by
long-running operations in `runSecondPass`, improving responsiveness and
reducing the risk of missing parts of input speech.
@csukuangfj
Copy link
Collaborator

Thank you for your contribution!

@csukuangfj csukuangfj merged commit 6613828 into k2-fsa:master Dec 24, 2024
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.

2 participants