Skip to content

Adjusted stream example to stop on ^C when no audio is received. #2822

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

Merged
merged 1 commit into from
Feb 27, 2025

Conversation

petterreinholdtsen
Copy link
Contributor

Add check for ctrl-c in potentially endless loop while calling audio.get() to receive sound.

@petterreinholdtsen
Copy link
Contributor Author

CI on arm64 seem to be completely broken, similar on #2816. The failing checks do not have anything to do with my code change.

Add check for ctrl-c in potentially endless loop while calling audio.get()
to receive sound.
@ggerganov ggerganov merged commit b5d2135 into ggml-org:master Feb 27, 2025
38 of 43 checks passed
joelvaneenwyk pushed a commit to joelvaneenwyk/whisper-cpp that referenced this pull request Mar 3, 2025
Add check for ctrl-c in potentially endless loop while calling audio.get()
to receive sound.

Co-authored-by: Petter Reinholdtsen <[email protected]>
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