From b9604f08d2a329cc810ab62706f598d5fcc0da7d Mon Sep 17 00:00:00 2001 From: ozpv <39195175+ozpv@users.noreply.github.com> Date: Mon, 22 Jun 2026 04:26:18 +0000 Subject: Fix duplicating the plugin instance --- src/window_function.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/window_function.rs') 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); -- cgit v1.2.3