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

@@ -145,7 +145,7 @@ impl Plugin for Sine {
&mut self,
buffer: &mut Buffer,
_aux: &mut AuxiliaryBuffers,
context: &mut impl ProcessContext,
context: &mut impl ProcessContext<Self>,
) -> ProcessStatus {
let mut next_event = context.next_event();
for (sample_id, channel_samples) in buffer.iter_samples().enumerate() {