Replace ACCEPTS_MIDI bool with new enum

So we can gate future MIDI CC support behind an additional option since
this involves more work on the VST3 side.
This commit is contained in:
Robbert van der Helm
2022-04-07 20:27:37 +02:00
parent 8f359feadb
commit 1141616466
10 changed files with 47 additions and 30 deletions

View File

@@ -87,7 +87,7 @@ impl Plugin for Stft {
const DEFAULT_NUM_INPUTS: u32 = 2;
const DEFAULT_NUM_OUTPUTS: u32 = 2;
const ACCEPTS_MIDI: bool = false;
const MIDI_INPUT: MidiConfig = MidiConfig::None;
const SAMPLE_ACCURATE_AUTOMATION: bool = true;
fn params(&self) -> Arc<dyn Params> {