mirror of
https://github.com/robbert-vdh/nih-plug.git
synced 2026-07-01 02:36:54 +00:00
Add another plugin constant for MIDI support
This commit is contained in:
@@ -96,6 +96,8 @@ impl Plugin for Gain {
|
||||
const DEFAULT_NUM_INPUTS: u32 = 2;
|
||||
const DEFAULT_NUM_OUTPUTS: u32 = 2;
|
||||
|
||||
const ACCEPTS_MIDI: bool = false;
|
||||
|
||||
fn params(&self) -> Pin<&dyn Params> {
|
||||
self.params.as_ref()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user