rvsttd: increase fade-out to 10ms

This commit is contained in:
2026-08-17 07:00:35 +00:00
parent b8ee014cc3
commit c174576e14
+1 -1
View File
@@ -352,7 +352,7 @@ fn transcriber_loop(
// Apply 5ms fade-out to the last chunk, then feed to both Moonshine and recorder
if let Some(mut chunk) = held_chunk.take() {
let fade_samples = (SAMPLE_RATE as usize * 5) / 1000;
let fade_samples = (SAMPLE_RATE as usize * 10) / 1000; // 10ms
if chunk.len() > fade_samples {
let start = chunk.len() - fade_samples;
for i in 0..fade_samples {