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

@@ -415,15 +415,15 @@ impl PubertySimulator {
impl ClapPlugin for PubertySimulator {
const CLAP_ID: &'static str = "nl.robbertvanderhelm.puberty-simulator";
const CLAP_DESCRIPTION: &'static str = "Simulates a pitched down cracking voice";
const CLAP_DESCRIPTION: Option<&'static str> = Some("Simulates a pitched down cracking voice");
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::Glitch,
ClapFeature::PitchShifter,
];
const CLAP_MANUAL_URL: &'static str = Self::URL;
const CLAP_SUPPORT_URL: &'static str = Self::URL;
}
impl Vst3Plugin for PubertySimulator {