]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
stream : stop on ^C when no audio is received (#2822)
authorpetterreinholdtsen <redacted>
Thu, 27 Feb 2025 06:59:51 +0000 (07:59 +0100)
committerGitHub <redacted>
Thu, 27 Feb 2025 06:59:51 +0000 (08:59 +0200)
commitb5d21359c11fc9d19f8efb7bdcb0688d6b643d58
tree480f2553d5cf6d52aa29df2cea770839e60eec5d
parent17addf7104547a5d987a75fd35e1c86563c69f6c
stream : stop on ^C when no audio is received (#2822)

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

Co-authored-by: Petter Reinholdtsen <redacted>
examples/stream/stream.cpp