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

@@ -103,7 +103,7 @@ impl Plugin for Gain {
const DEFAULT_NUM_INPUTS: u32 = 2;
const DEFAULT_NUM_OUTPUTS: u32 = 2;
const ACCEPTS_MIDI: bool = false;
const MIDI_INPUT: MidiConfig = MidiConfig::None;
// Setting this to `true` will tell the wrapper to split the buffer up into smaller blocks
// whenever there are inter-buffer parameter changes. This way no changes to the plugin are
// required to support sample accurate automation and the wrapper handles all of the boring