mirror of
https://github.com/robbert-vdh/nih-plug.git
synced 2026-07-01 02:36:54 +00:00
Allow any audio setup for midi_inverter
This commit is contained in:
@@ -40,6 +40,12 @@ impl Plugin for MidiInverter {
|
|||||||
self.params.clone()
|
self.params.clone()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fn accepts_bus_config(&self, _config: &BusConfig) -> bool {
|
||||||
|
// This is a zero channel plugin, but the host can configure it to pass through audio as
|
||||||
|
// needed. Ableton Live for instance doesn't support note effects.
|
||||||
|
true
|
||||||
|
}
|
||||||
|
|
||||||
fn process(
|
fn process(
|
||||||
&mut self,
|
&mut self,
|
||||||
_buffer: &mut Buffer,
|
_buffer: &mut Buffer,
|
||||||
|
|||||||
Reference in New Issue
Block a user