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 /app/build.gradle.kts | |
| 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 'app/build.gradle.kts')
| -rw-r--r-- | app/build.gradle.kts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/build.gradle.kts b/app/build.gradle.kts index b1a0836..d57a7e6 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -15,8 +15,8 @@ android { applicationId = "com.wuhei.reccoon" minSdk = 26 targetSdk = 35 - versionCode = 4 - versionName = "1.3.0-alpha" + versionCode = 5 + versionName = "1.3.1-alpha" ndk { // Prebuilt sherpa-onnx / onnxruntime native libraries. |
