summaryrefslogtreecommitdiff
path: root/src/window_size.rs
diff options
context:
space:
mode:
authorozpv <39195175+ozpv@users.noreply.github.com>2026-06-20 03:11:03 -0500
committerozpv <39195175+ozpv@users.noreply.github.com>2026-06-20 03:11:03 -0500
commit029fc9d3cf4768d94a6e37380e1dcc1e758ae876 (patch)
treee38d6533ac8a08fca1109e6e4ee92fe2e227e274 /src/window_size.rs
parent15452d1352dc01e4618a54c8159d8f049225d4fd (diff)
add vst3 support
Diffstat (limited to 'src/window_size.rs')
-rw-r--r--src/window_size.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/window_size.rs b/src/window_size.rs
index c84a137..a687b27 100644
--- a/src/window_size.rs
+++ b/src/window_size.rs
@@ -1,6 +1,3 @@
-/// The max value of the custom window size is `u32::MAX`.
-/// The min value of the custom window size is `WindowSize::Size256`.
-/// This is because it's the maximum latency one can report to a CLAP host.
#[derive(Debug, Clone, PartialEq)]
pub enum WindowSize {
Size256,
@@ -11,6 +8,8 @@ pub enum WindowSize {
Size8192,
Size16384,
Size32768,
+ // Forced to use IntParam for this because of this "custom" field
+ // Midi support for time synced window sizes will be added in the future
Custom(usize),
}