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:
parent
1151a80769
commit
a26ddbb45e
|
@ -413,7 +413,7 @@ fn unnormalize_automation_precision(normalized: f32) -> u32 {
|
||||||
impl ClapPlugin for Diopser {
|
impl ClapPlugin for Diopser {
|
||||||
const CLAP_ID: &'static str = "nl.robbertvanderhelm.diopser";
|
const CLAP_ID: &'static str = "nl.robbertvanderhelm.diopser";
|
||||||
const CLAP_DESCRIPTION: &'static str = "A totally original phase rotation plugin";
|
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"];
|
&["audio_effect", "mono", "stereo", "filter", "utility"];
|
||||||
const CLAP_MANUAL_URL: &'static str = Self::URL;
|
const CLAP_MANUAL_URL: &'static str = Self::URL;
|
||||||
const CLAP_SUPPORT_URL: &'static str = Self::URL;
|
const CLAP_SUPPORT_URL: &'static str = Self::URL;
|
||||||
|
|
|
@ -205,7 +205,7 @@ impl Plugin for Gain {
|
||||||
impl ClapPlugin for Gain {
|
impl ClapPlugin for Gain {
|
||||||
const CLAP_ID: &'static str = "com.moist-plugins-gmbh.gain";
|
const CLAP_ID: &'static str = "com.moist-plugins-gmbh.gain";
|
||||||
const CLAP_DESCRIPTION: &'static str = "A smoothed gain parameter example plugin";
|
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_MANUAL_URL: &'static str = Self::URL;
|
||||||
const CLAP_SUPPORT_URL: &'static str = Self::URL;
|
const CLAP_SUPPORT_URL: &'static str = Self::URL;
|
||||||
}
|
}
|
||||||
|
|
|
@ -132,7 +132,7 @@ impl Plugin for Gain {
|
||||||
impl ClapPlugin for Gain {
|
impl ClapPlugin for Gain {
|
||||||
const CLAP_ID: &'static str = "com.moist-plugins-gmbh.gain";
|
const CLAP_ID: &'static str = "com.moist-plugins-gmbh.gain";
|
||||||
const CLAP_DESCRIPTION: &'static str = "A smoothed gain parameter example plugin";
|
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_MANUAL_URL: &'static str = Self::URL;
|
||||||
const CLAP_SUPPORT_URL: &'static str = Self::URL;
|
const CLAP_SUPPORT_URL: &'static str = Self::URL;
|
||||||
}
|
}
|
||||||
|
|
|
@ -179,7 +179,7 @@ impl Plugin for Sine {
|
||||||
impl ClapPlugin for Sine {
|
impl ClapPlugin for Sine {
|
||||||
const CLAP_ID: &'static str = "com.moist-plugins-gmbh.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_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_MANUAL_URL: &'static str = Self::URL;
|
||||||
const CLAP_SUPPORT_URL: &'static str = Self::URL;
|
const CLAP_SUPPORT_URL: &'static str = Self::URL;
|
||||||
}
|
}
|
||||||
|
|
|
@ -113,7 +113,7 @@ pub trait ClapPlugin: Plugin {
|
||||||
//
|
//
|
||||||
// TODO: CLAP mentions that `win32-dpi-aware` is a special keyword that informs the host that
|
// 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?
|
// 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.
|
/// 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?
|
// TODO: CLAP does not specify this, can these manual fields be null pointers?
|
||||||
|
|
Loading…
Reference in a new issue