diff options
| author | Tom Cooks <tommasogagliardi+github@gmail.com> | 2026-09-30 08:11:24 -0400 |
|---|---|---|
| committer | Tom Cooks <tommasogagliardi+github@gmail.com> | 2026-09-30 08:11:24 -0400 |
| commit | e15b89af9889d94eca15380048fc2bf6bbc8e22e (patch) | |
| tree | 082741a74856fe65204c1cd589c5f53d54f625bf /README.md | |
| parent | 68402ebbdacfc95e40bd856caa8c4cb83bef8342 (diff) | |
| download | reccoon-e15b89af9889d94eca15380048fc2bf6bbc8e22e.tar.gz | |
Fix transcription: streaming resampler trim could overrun the buffer (1.3.1-alpha)
The resampler clamped nothing before Arrays.copyOfRange(buffer, drop, length),
so when the fractional read position overshot the buffer end, drop could be
length+1 and the copy threw IllegalArgumentException: 8194 > 8193. This broke
every transcription (base and tiny, any language). Clamp drop to buffer.length.
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -17,7 +17,7 @@ on device. - **Transcription:** on-device, offline speech recognition with [sherpa-onnx](https://github.com/k2-fsa/sherpa-onnx) using multilingual Whisper — works with **English and Italian** -- **Name:** RECCoon · **by** wuhei · **version** 1.3.0-alpha +- **Name:** RECCoon · **by** wuhei · **version** 1.3.1-alpha - **Icon:** raccoon with a microphone ## Requirements @@ -39,7 +39,7 @@ Outputs: - `app/build/outputs/apk/debug/app-debug.apk` - `app/build/outputs/apk/release/app-release.apk` -A prebuilt copy is available at `dist/RECCoon-1.3.0-alpha.apk`. Note that the +A prebuilt copy is available at `dist/RECCoon-1.3.1-alpha.apk`. Note that the sherpa-onnx AAR in `app/libs/` and the APK in `dist/` are **not** tracked in git because they are large; see `TODO.md`. |
