mirror of
https://github.com/robbert-vdh/nih-plug.git
synced 2026-07-01 10:46:55 +00:00
Change the default SC window size to 2048
This commit is contained in:
@@ -6,6 +6,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic
|
||||
Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
### Changed
|
||||
|
||||
- The default window size changed to 2048 since this offers a slightly better
|
||||
tradeoff between faster timings and more spectral precision. Existing
|
||||
instances are not affected.
|
||||
|
||||
## [0.4.2] - 2023-03-22
|
||||
|
||||
### Changed
|
||||
|
||||
@@ -35,9 +35,9 @@ mod editor;
|
||||
const MIN_WINDOW_ORDER: usize = 6;
|
||||
#[allow(dead_code)]
|
||||
const MIN_WINDOW_SIZE: usize = 1 << MIN_WINDOW_ORDER; // 64
|
||||
const DEFAULT_WINDOW_ORDER: usize = 12;
|
||||
const DEFAULT_WINDOW_ORDER: usize = 11;
|
||||
#[allow(dead_code)]
|
||||
const DEFAULT_WINDOW_SIZE: usize = 1 << DEFAULT_WINDOW_ORDER; // 4096
|
||||
const DEFAULT_WINDOW_SIZE: usize = 1 << DEFAULT_WINDOW_ORDER; // 2048
|
||||
const MAX_WINDOW_ORDER: usize = 15;
|
||||
const MAX_WINDOW_SIZE: usize = 1 << MAX_WINDOW_ORDER; // 32768
|
||||
|
||||
|
||||
Reference in New Issue
Block a user