mirror of
https://github.com/robbert-vdh/nih-plug.git
synced 2026-07-01 02:36:54 +00:00
Introduce a new enum for CLAP features
Based on the new CLAP 0.26 clap-features.h.
This commit is contained in:
@@ -477,8 +477,12 @@ 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_FEATURES: &'static [&'static str] =
|
||||
&["audio-effect", "stereo", "distortion", "filter"];
|
||||
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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user