mirror of
https://github.com/robbert-vdh/nih-plug.git
synced 2026-07-01 02:36:54 +00:00
Fix incorrect MIN_OVERLAP_TIMES calculations
These aren't actually used which is why this never came up. The other (similarly unused) constants were calculated correctly.
This commit is contained in:
@@ -35,7 +35,7 @@ const MAX_WINDOW_SIZE: usize = 1 << MAX_WINDOW_ORDER; // 32768
|
||||
|
||||
const MIN_OVERLAP_ORDER: usize = 2;
|
||||
#[allow(dead_code)]
|
||||
const MIN_OVERLAP_TIMES: usize = 2 << MIN_OVERLAP_ORDER; // 4
|
||||
const MIN_OVERLAP_TIMES: usize = 1 << MIN_OVERLAP_ORDER; // 4
|
||||
const DEFAULT_OVERLAP_ORDER: usize = 3;
|
||||
#[allow(dead_code)]
|
||||
const DEFAULT_OVERLAP_TIMES: usize = 1 << DEFAULT_OVERLAP_ORDER; // 4
|
||||
|
||||
Reference in New Issue
Block a user