1
0
Fork 0

Change CLAP_KEYWORDS to CLAP_FEATURES

This name was changed in CLAP 0.19, but in 0.18 it's still called
features.
This commit is contained in:
Robbert van der Helm 2022-02-28 17:29:53 +01:00
parent 1151a80769
commit a26ddbb45e
5 changed files with 5 additions and 5 deletions

View file

@ -413,7 +413,7 @@ fn unnormalize_automation_precision(normalized: f32) -> u32 {
impl ClapPlugin for Diopser {
const CLAP_ID: &'static str = "nl.robbertvanderhelm.diopser";
const CLAP_DESCRIPTION: &'static str = "A totally original phase rotation plugin";
const CLAP_KEYWORDS: &'static [&'static str] =
const CLAP_FEATURES: &'static [&'static str] =
&["audio_effect", "mono", "stereo", "filter", "utility"];
const CLAP_MANUAL_URL: &'static str = Self::URL;
const CLAP_SUPPORT_URL: &'static str = Self::URL;

View file

@ -205,7 +205,7 @@ impl Plugin for Gain {
impl ClapPlugin for Gain {
const CLAP_ID: &'static str = "com.moist-plugins-gmbh.gain";
const CLAP_DESCRIPTION: &'static str = "A smoothed gain parameter example plugin";
const CLAP_KEYWORDS: &'static [&'static str] = &["audio_effect", "mono", "stereo", "tool"];
const CLAP_FEATURES: &'static [&'static str] = &["audio_effect", "mono", "stereo", "tool"];
const CLAP_MANUAL_URL: &'static str = Self::URL;
const CLAP_SUPPORT_URL: &'static str = Self::URL;
}

View file

@ -132,7 +132,7 @@ impl Plugin for Gain {
impl ClapPlugin for Gain {
const CLAP_ID: &'static str = "com.moist-plugins-gmbh.gain";
const CLAP_DESCRIPTION: &'static str = "A smoothed gain parameter example plugin";
const CLAP_KEYWORDS: &'static [&'static str] = &["audio_effect", "mono", "stereo", "tool"];
const CLAP_FEATURES: &'static [&'static str] = &["audio_effect", "mono", "stereo", "tool"];
const CLAP_MANUAL_URL: &'static str = Self::URL;
const CLAP_SUPPORT_URL: &'static str = Self::URL;
}

View file

@ -179,7 +179,7 @@ impl Plugin for Sine {
impl ClapPlugin for Sine {
const CLAP_ID: &'static str = "com.moist-plugins-gmbh.sine";
const CLAP_DESCRIPTION: &'static str = "An optionally MIDI controlled sine test tone";
const CLAP_KEYWORDS: &'static [&'static str] = &["instrument", "mono", "stereo", "utility"];
const CLAP_FEATURES: &'static [&'static str] = &["instrument", "mono", "stereo", "utility"];
const CLAP_MANUAL_URL: &'static str = Self::URL;
const CLAP_SUPPORT_URL: &'static str = Self::URL;
}

View file

@ -113,7 +113,7 @@ pub trait ClapPlugin: Plugin {
//
// TODO: CLAP mentions that `win32-dpi-aware` is a special keyword that informs the host that
// the plugin is DPI aware, can and should we have special handling for this?
const CLAP_KEYWORDS: &'static [&'static str];
const CLAP_FEATURES: &'static [&'static str];
/// A URL to the plugin's manual, CLAP does not specify what to do when there is none.
//
// TODO: CLAP does not specify this, can these manual fields be null pointers?