What's New
Audio Playback Overhaul
- Replaced per-chunk HTMLAudioElement playback with a SharedArrayBuffer ring buffer architecture, enabling gapless, low-latency audio output (#174)
Bug Fixes
- Fixed local inference Workers failing to load in packaged Electron app — Workers inside ASAR were blocked by COEP headers; production now relies on the
SharedArrayBuffercommand-line flag instead, avoiding the issue entirely - Fixed AudioWorklet CSP violation in browser extension — the playback ring processor worklet was inlined as a
data:URL by Vite, which violated the extension's Content Security Policy; now loads viachrome.runtime.getURL()like the other worklets - Included WASM runtime files in packaged app — sherpa-onnx ASR/TTS runtimes, ONNX Runtime Web, VAD model, and Piper Plus runtime are now bundled in the ASAR so local inference workers can load them
- Added
Cross-Origin-Resource-Policyheader for local resources
Full Changelog: v0.15.29...v0.15.31