Add another plugin constant for MIDI support

This commit is contained in:
Robbert van der Helm
2022-02-04 01:09:09 +01:00
parent c1f435d909
commit f69fdcef5f
3 changed files with 8 additions and 0 deletions

View File

@@ -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()
}