Make CLAP descriptions and special URLs optional

This closes #14.
This commit is contained in:
Robbert van der Helm
2022-07-04 12:44:30 +02:00
parent 5cbd8827e9
commit 7cd7294b22
16 changed files with 85 additions and 66 deletions

View File

@@ -481,15 +481,16 @@ impl Crisp {
impl ClapPlugin for Crisp {
const CLAP_ID: &'static str = "nl.robbertvanderhelm.crisp";
const CLAP_DESCRIPTION: &'static str = "Adds a bright crispy top end to low bass sounds";
const CLAP_DESCRIPTION: Option<&'static str> =
Some("Adds a bright crispy top end to low bass sounds");
const CLAP_MANUAL_URL: Option<&'static str> = Some(Self::URL);
const CLAP_SUPPORT_URL: Option<&'static str> = None;
const CLAP_FEATURES: &'static [ClapFeature] = &[
ClapFeature::AudioEffect,
ClapFeature::Stereo,
ClapFeature::Mono,
ClapFeature::Distortion,
];
const CLAP_MANUAL_URL: &'static str = Self::URL;
const CLAP_SUPPORT_URL: &'static str = Self::URL;
}
impl Vst3Plugin for Crisp {