]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
webui: fix slow mic stop and WAV encode (#22480)
authorPascal <redacted>
Wed, 29 Apr 2026 10:58:35 +0000 (12:58 +0200)
committerGitHub <redacted>
Wed, 29 Apr 2026 10:58:35 +0000 (12:58 +0200)
commit59237bfbbc13723a5942082d278f477f2edcf4df
tree531517867be9b01bdf174ddd6354a5c13579cb28
parent1cbc846ebadc3df14c57a8a1cff621d5721ff025
webui: fix slow mic stop and WAV encode (#22480)

* webui: instant mic stop, race-free recorder restart

* webui: faster WAV PCM encode via hoisted channels and Int16Array

* chore: update webui build output

* webui: drop setTimeout(0) hack and harden cancelRecording

* chore: update webui build output
tools/server/public/bundle.js
tools/server/webui/src/lib/components/app/chat/ChatForm/ChatForm.svelte
tools/server/webui/src/lib/utils/audio-recording.ts