Skip to content

Commit

Permalink
add VST3 sub categories and CLAP features
Browse files Browse the repository at this point in the history
  • Loading branch information
magnetophon committed Nov 18, 2024
1 parent 142fb30 commit 7278d94
Showing 1 changed file with 25 additions and 5 deletions.
30 changes: 25 additions & 5 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1466,16 +1466,36 @@ impl ClapPlugin for Del2 {
const CLAP_MANUAL_URL: Option<&'static str> = Some(Self::URL);
const CLAP_SUPPORT_URL: Option<&'static str> = None;

// Don't forget to change these features
const CLAP_FEATURES: &'static [ClapFeature] = &[ClapFeature::AudioEffect, ClapFeature::Stereo];
// TODO: Don't forget to change these features
const CLAP_FEATURES: &'static [ClapFeature] = &[
ClapFeature::AudioEffect,
ClapFeature::Delay,
ClapFeature::Filter,
ClapFeature::Distortion,
ClapFeature::Mixing,
ClapFeature::Stereo,
// TODO: Mono,
// TODO: Sampler,
// TODO: PitchShifter,
// TODO: Compressor,
// TODO: Limiter,
// TODO: Reverb,
// TODO: Tremolo,
// TODO: MultiEffects,
];
}

impl Vst3Plugin for Del2 {
const VST3_CLASS_ID: [u8; 16] = *b"magnetophon/DEL2";

// And also don't forget to change these categories
const VST3_SUBCATEGORIES: &'static [Vst3SubCategory] =
&[Vst3SubCategory::Fx, Vst3SubCategory::Dynamics];
const VST3_SUBCATEGORIES: &'static [Vst3SubCategory] = &[
Vst3SubCategory::Fx,
Vst3SubCategory::Delay,
Vst3SubCategory::Filter,
Vst3SubCategory::Distortion,
Vst3SubCategory::Spatial,
Vst3SubCategory::Stereo,
];
}

#[derive(PartialEq, Debug, Clone, Copy)]
Expand Down

0 comments on commit 7278d94

Please sign in to comment.