summaryrefslogtreecommitdiff
path: root/src/window_function.rs
diff options
context:
space:
mode:
authorozpv <39195175+ozpv@users.noreply.github.com>2026-06-22 04:26:18 +0000
committerGitHub <noreply@github.com>2026-06-22 04:26:18 +0000
commitb9604f08d2a329cc810ab62706f598d5fcc0da7d (patch)
treef68fbcdd3ece7588a464887aa3a501b2bb1e3e58 /src/window_function.rs
parent6ca86f2c3f8bb4531aa623927765f4e676fe46ae (diff)
Fix duplicating the plugin instancemain
Diffstat (limited to 'src/window_function.rs')
-rw-r--r--src/window_function.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window_function.rs b/src/window_function.rs
index c6aef77..98b034b 100644
--- a/src/window_function.rs
+++ b/src/window_function.rs
@@ -103,7 +103,7 @@ impl WindowFunction for HannWindow {
// set the output samples
// in other functions this will also include normalizing in a loop
- data[..half_window_size].copy_from_slice(&self.overlap_add[..half_window_size]);
+ data[..half_window_size].copy_from_slice(&self.overlap_add[..half_window_size]);
// shift the saved overlap to become the next overlap
self.overlap_add.rotate_left(half_window_size);