From e15b89af9889d94eca15380048fc2bf6bbc8e22e Mon Sep 17 00:00:00 2001 From: Tom Cooks Date: Wed, 30 Sep 2026 08:11:24 -0400 Subject: 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. --- app/src/main/res/values/strings.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/src/main/res') diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 54a69d9..dbd3535 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1,7 +1,7 @@ RECCoon - by wuhei · v1.3.0-alpha + by wuhei · v1.3.1-alpha 00:00 44.1 kHz · 16-bit · PCM (WAV) · cue markers -- cgit v1.2.3