diff --git a/plugins/gain/src/lib.rs b/plugins/gain/src/lib.rs index 39b9bad5..a6c66d81 100644 --- a/plugins/gain/src/lib.rs +++ b/plugins/gain/src/lib.rs @@ -61,6 +61,11 @@ impl Default for GainParams { } impl Plugin for Gain { + const NAME: &'static str = "Gain"; + const VENDOR: &'static str = "Moist Plugins GmbH"; + const URL: &'static str = "https://youtu.be/dQw4w9WgXcQ"; + const EMAIL: &'static str = "info@example.com"; + const DEFAULT_NUM_INPUTS: u32 = 2; const DEFAULT_NUM_OUTPUTS: u32 = 2; diff --git a/src/plugin.rs b/src/plugin.rs index dfc96b2f..c1f55442 100644 --- a/src/plugin.rs +++ b/src/plugin.rs @@ -37,6 +37,11 @@ use crate::params::Params; /// - Suspension and tail processing. This will be handled soon in a similar way to how CLAP /// handnles it. pub trait Plugin: Default + Sync { + const NAME: &'static str; + const VENDOR: &'static str; + const URL: &'static str; + const EMAIL: &'static str; + /// The default number of inputs. Some hosts like, like Bitwig and Ardour, use the defaults /// instead of setting up the busses properly. const DEFAULT_NUM_INPUTS: u32;