Add AsyncExecutor support to ProcessContext

This commit is contained in:
Robbert van der Helm
2022-10-22 01:15:16 +02:00
parent ec8e99cf44
commit 84f834abb6
27 changed files with 107 additions and 46 deletions

View File

@@ -44,7 +44,7 @@ impl Plugin for MidiInverter {
&mut self,
_buffer: &mut Buffer,
_aux: &mut AuxiliaryBuffers,
context: &mut impl ProcessContext,
context: &mut impl ProcessContext<Self>,
) -> ProcessStatus {
// We'll invert the channel, note index, velocity, pressure, CC value, pitch bend, and
// anything else that is invertable for all events we receive