Update for CLAP 1.0
This commit is contained in:
parent
c779b2c663
commit
34fa78a313
5
Cargo.lock
generated
5
Cargo.lock
generated
|
@ -469,8 +469,9 @@ checksum = "17cc5e6b5ab06331c33589842070416baa137e8b0eb912b008cfd4a78ada7919"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "clap-sys"
|
name = "clap-sys"
|
||||||
version = "0.26.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/robbert-vdh/clap-sys.git?branch=feature/clap-0.26#7a5980ba205a306cc31ebc83a1d89a29ab81cd56"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "4a8aa914ef6a42441b5ef7884eef20c6d38bd5b24c3c9eba865b08bf3353bc11"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "clipboard-win"
|
name = "clipboard-win"
|
||||||
|
|
|
@ -66,8 +66,7 @@ atomic_float = "0.1"
|
||||||
atomic_refcell = "0.1"
|
atomic_refcell = "0.1"
|
||||||
bitflags = "1.3"
|
bitflags = "1.3"
|
||||||
cfg-if = "1.0"
|
cfg-if = "1.0"
|
||||||
# For CLAP 0.26
|
clap-sys = "0.1"
|
||||||
clap-sys = { git = "https://github.com/robbert-vdh/clap-sys.git", branch = "feature/clap-0.26" }
|
|
||||||
crossbeam = "0.8"
|
crossbeam = "0.8"
|
||||||
lazy_static = "1.4"
|
lazy_static = "1.4"
|
||||||
log = { version = "0.4", features = ["std", "release_max_level_info"] }
|
log = { version = "0.4", features = ["std", "release_max_level_info"] }
|
||||||
|
|
|
@ -9,6 +9,10 @@ pub enum ClapFeature {
|
||||||
AudioEffect,
|
AudioEffect,
|
||||||
NoteEffect,
|
NoteEffect,
|
||||||
Analyzer,
|
Analyzer,
|
||||||
|
Synthesizer,
|
||||||
|
Sampler,
|
||||||
|
Drum,
|
||||||
|
DrumMachine,
|
||||||
Filter,
|
Filter,
|
||||||
Phaser,
|
Phaser,
|
||||||
Equalizer,
|
Equalizer,
|
||||||
|
@ -37,7 +41,6 @@ pub enum ClapFeature {
|
||||||
Stereo,
|
Stereo,
|
||||||
Surround,
|
Surround,
|
||||||
Ambisonic,
|
Ambisonic,
|
||||||
Win32DpiAware,
|
|
||||||
/// A non-predefined feature. Hosts may display this among its plugin categories.
|
/// A non-predefined feature. Hosts may display this among its plugin categories.
|
||||||
Custom(&'static str),
|
Custom(&'static str),
|
||||||
}
|
}
|
||||||
|
@ -49,6 +52,10 @@ impl ClapFeature {
|
||||||
ClapFeature::AudioEffect => "audio-effect",
|
ClapFeature::AudioEffect => "audio-effect",
|
||||||
ClapFeature::NoteEffect => "note-effect",
|
ClapFeature::NoteEffect => "note-effect",
|
||||||
ClapFeature::Analyzer => "analyzer",
|
ClapFeature::Analyzer => "analyzer",
|
||||||
|
ClapFeature::Synthesizer => "synthesizer",
|
||||||
|
ClapFeature::Sampler => "sampler",
|
||||||
|
ClapFeature::Drum => "drum",
|
||||||
|
ClapFeature::DrumMachine => "drum-machine",
|
||||||
ClapFeature::Filter => "filter",
|
ClapFeature::Filter => "filter",
|
||||||
ClapFeature::Phaser => "phaser",
|
ClapFeature::Phaser => "phaser",
|
||||||
ClapFeature::Equalizer => "equalizer",
|
ClapFeature::Equalizer => "equalizer",
|
||||||
|
@ -77,7 +84,6 @@ impl ClapFeature {
|
||||||
ClapFeature::Stereo => "stereo",
|
ClapFeature::Stereo => "stereo",
|
||||||
ClapFeature::Surround => "surround",
|
ClapFeature::Surround => "surround",
|
||||||
ClapFeature::Ambisonic => "ambisonic",
|
ClapFeature::Ambisonic => "ambisonic",
|
||||||
ClapFeature::Win32DpiAware => "win32-dpi-aware",
|
|
||||||
ClapFeature::Custom(s) => s,
|
ClapFeature::Custom(s) => s,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue