Convert remaining Java to Kotlin

This commit is contained in:
James Babcock committed 2026-09-22 17:26:09 -07:00
1 parent ea9bfae6af
commit f9724ddcab
118 files changed
+18381 -18119

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@ declare const java: any;
* - "whisper-base-en": sherpa-onnx's offline Whisper backend, base.en,
* int8-quantized. Picked over tiny.en for materially better accuracy
* (Whisper's own tiny/base WER gap is real and well documented) on the
* reasoning that FaceclawVoiceController.java no longer re-decodes a
* reasoning that FaceclawVoiceController.kt no longer re-decodes a
* Whisper segment on every live-partial tick — see its ASR_WHISPER_*
* comment — so base.en's extra compute is a one-time cost per utterance,
* not a cost paid ~1.4x/second while the user is speaking. tiny.en is an
+1 -1
View File
@@ -1,6 +1,6 @@
/**
* TS-side wrapper for the Java FrameTimings singleton (per-frame latency
* instrumentation; see FrameTimings.java). Frame ID 0 means "no frame" and is
* instrumentation; see FrameTimings.kt). Frame ID 0 means "no frame" and is
* ignored by every method, so callers never need to null-check.
*
* Frames form a tree: pass the causing frame's ID as `parentFrameId` when one