From 6996fdaed1ec1ec3f0038f240d1f93312e71074e Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Thu, 2 Jun 2022 00:52:13 +0200 Subject: [PATCH] Update features names for CLAP 0.26 --- plugins/crisp/src/lib.rs | 2 +- plugins/crossover/src/lib.rs | 2 +- plugins/diopser/src/lib.rs | 2 +- plugins/examples/gain/src/lib.rs | 2 +- plugins/examples/gain_gui_egui/src/lib.rs | 2 +- plugins/examples/gain_gui_iced/src/lib.rs | 2 +- plugins/examples/gain_gui_vizia/src/lib.rs | 2 +- plugins/examples/midi_inverter/src/lib.rs | 2 +- plugins/examples/stft/src/lib.rs | 2 +- plugins/loudness_war_winner/src/lib.rs | 2 +- plugins/puberty_simulator/src/lib.rs | 2 +- plugins/safety_limiter/src/lib.rs | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/plugins/crisp/src/lib.rs b/plugins/crisp/src/lib.rs index 3cda51b0..a1cf4dff 100644 --- a/plugins/crisp/src/lib.rs +++ b/plugins/crisp/src/lib.rs @@ -478,7 +478,7 @@ 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"]; + &["audio-effect", "stereo", "distortion", "filter"]; const CLAP_MANUAL_URL: &'static str = Self::URL; const CLAP_SUPPORT_URL: &'static str = Self::URL; } diff --git a/plugins/crossover/src/lib.rs b/plugins/crossover/src/lib.rs index 33099639..e83ada5b 100644 --- a/plugins/crossover/src/lib.rs +++ b/plugins/crossover/src/lib.rs @@ -280,7 +280,7 @@ impl Crossover { impl ClapPlugin for Crossover { const CLAP_ID: &'static str = "nl.robbertvanderhelm.crossover"; const CLAP_DESCRIPTION: &'static str = "Cleanly split a signal into multiple bands"; - const CLAP_FEATURES: &'static [&'static str] = &["audio_effect", "stereo", "utility"]; + const CLAP_FEATURES: &'static [&'static str] = &["audio-effect", "stereo", "utility"]; const CLAP_MANUAL_URL: &'static str = Self::URL; const CLAP_SUPPORT_URL: &'static str = Self::URL; } diff --git a/plugins/diopser/src/lib.rs b/plugins/diopser/src/lib.rs index a4598ebd..ca2eeb73 100644 --- a/plugins/diopser/src/lib.rs +++ b/plugins/diopser/src/lib.rs @@ -397,7 +397,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_FEATURES: &'static [&'static str] = &["audio_effect", "stereo", "filter", "utility"]; + const CLAP_FEATURES: &'static [&'static str] = &["audio-effect", "stereo", "filter", "utility"]; const CLAP_MANUAL_URL: &'static str = Self::URL; const CLAP_SUPPORT_URL: &'static str = Self::URL; } diff --git a/plugins/examples/gain/src/lib.rs b/plugins/examples/gain/src/lib.rs index 6c57d984..14589304 100644 --- a/plugins/examples/gain/src/lib.rs +++ b/plugins/examples/gain/src/lib.rs @@ -154,7 +154,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_FEATURES: &'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; } diff --git a/plugins/examples/gain_gui_egui/src/lib.rs b/plugins/examples/gain_gui_egui/src/lib.rs index 0acffa3b..75093723 100644 --- a/plugins/examples/gain_gui_egui/src/lib.rs +++ b/plugins/examples/gain_gui_egui/src/lib.rs @@ -192,7 +192,7 @@ impl Plugin for Gain { impl ClapPlugin for Gain { const CLAP_ID: &'static str = "com.moist-plugins-gmbh-egui.gain-gui"; const CLAP_DESCRIPTION: &'static str = "A smoothed gain parameter example plugin"; - const CLAP_FEATURES: &'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; } diff --git a/plugins/examples/gain_gui_iced/src/lib.rs b/plugins/examples/gain_gui_iced/src/lib.rs index 0b943ac5..9d5b15c1 100644 --- a/plugins/examples/gain_gui_iced/src/lib.rs +++ b/plugins/examples/gain_gui_iced/src/lib.rs @@ -138,7 +138,7 @@ impl Plugin for Gain { impl ClapPlugin for Gain { const CLAP_ID: &'static str = "com.moist-plugins-gmbh.gain-gui-iced"; const CLAP_DESCRIPTION: &'static str = "A smoothed gain parameter example plugin"; - const CLAP_FEATURES: &'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; } diff --git a/plugins/examples/gain_gui_vizia/src/lib.rs b/plugins/examples/gain_gui_vizia/src/lib.rs index d81622eb..9ea7bdaa 100644 --- a/plugins/examples/gain_gui_vizia/src/lib.rs +++ b/plugins/examples/gain_gui_vizia/src/lib.rs @@ -138,7 +138,7 @@ impl Plugin for Gain { impl ClapPlugin for Gain { const CLAP_ID: &'static str = "com.moist-plugins-gmbh.gain-gui-vizia"; const CLAP_DESCRIPTION: &'static str = "A smoothed gain parameter example plugin"; - const CLAP_FEATURES: &'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; } diff --git a/plugins/examples/midi_inverter/src/lib.rs b/plugins/examples/midi_inverter/src/lib.rs index e0f85e6d..0d900d61 100644 --- a/plugins/examples/midi_inverter/src/lib.rs +++ b/plugins/examples/midi_inverter/src/lib.rs @@ -188,7 +188,7 @@ impl ClapPlugin for MidiInverter { const CLAP_ID: &'static str = "com.moist-plugins-gmbh.midi-inverter"; const CLAP_DESCRIPTION: &'static str = "Inverts all note and MIDI signals in ways you don't want to"; - const CLAP_FEATURES: &'static [&'static str] = &["note_effect", "utility"]; + const CLAP_FEATURES: &'static [&'static str] = &["note-effect", "utility"]; const CLAP_MANUAL_URL: &'static str = Self::URL; const CLAP_SUPPORT_URL: &'static str = Self::URL; } diff --git a/plugins/examples/stft/src/lib.rs b/plugins/examples/stft/src/lib.rs index 4adb3210..6371006a 100644 --- a/plugins/examples/stft/src/lib.rs +++ b/plugins/examples/stft/src/lib.rs @@ -164,7 +164,7 @@ impl Plugin for Stft { impl ClapPlugin for Stft { const CLAP_ID: &'static str = "com.moist-plugins-gmbh.stft"; const CLAP_DESCRIPTION: &'static str = "An example plugin using the STFT helper"; - const CLAP_FEATURES: &'static [&'static str] = &["audio_effect", "stereo", "tool"]; + const CLAP_FEATURES: &'static [&'static str] = &["audio-effect", "stereo", "tool"]; const CLAP_MANUAL_URL: &'static str = Self::URL; const CLAP_SUPPORT_URL: &'static str = Self::URL; } diff --git a/plugins/loudness_war_winner/src/lib.rs b/plugins/loudness_war_winner/src/lib.rs index 6466c22a..e90bfe5a 100644 --- a/plugins/loudness_war_winner/src/lib.rs +++ b/plugins/loudness_war_winner/src/lib.rs @@ -244,7 +244,7 @@ impl ClapPlugin for LoudnessWarWinner { const CLAP_ID: &'static str = "nl.robbertvanderhelm.loudness-war-winner"; const CLAP_DESCRIPTION: &'static str = "Win the loudness war with ease"; const CLAP_FEATURES: &'static [&'static str] = &[ - "audio_effect", + "audio-effect", "stereo", "mono", "limiter", diff --git a/plugins/puberty_simulator/src/lib.rs b/plugins/puberty_simulator/src/lib.rs index 712f46e2..dea926a3 100644 --- a/plugins/puberty_simulator/src/lib.rs +++ b/plugins/puberty_simulator/src/lib.rs @@ -415,7 +415,7 @@ 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_FEATURES: &'static [&'static str] = - &["audio_effect", "stereo", "glitch", "pitch_shifter"]; + &["audio-effect", "stereo", "glitch", "pitch_shifter"]; const CLAP_MANUAL_URL: &'static str = Self::URL; const CLAP_SUPPORT_URL: &'static str = Self::URL; } diff --git a/plugins/safety_limiter/src/lib.rs b/plugins/safety_limiter/src/lib.rs index 0d5645bc..f08c1523 100644 --- a/plugins/safety_limiter/src/lib.rs +++ b/plugins/safety_limiter/src/lib.rs @@ -298,7 +298,7 @@ impl SafetyLimiter { impl ClapPlugin for SafetyLimiter { const CLAP_ID: &'static str = "nl.robbertvanderhelm.safety-limiter"; const CLAP_DESCRIPTION: &'static str = "Plays SOS in Morse code when redlining"; - const CLAP_FEATURES: &'static [&'static str] = &["audio_effect", "stereo", "utility"]; + const CLAP_FEATURES: &'static [&'static str] = &["audio-effect", "stereo", "utility"]; const CLAP_MANUAL_URL: &'static str = Self::URL; const CLAP_SUPPORT_URL: &'static str = Self::URL; }