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

@@ -346,7 +346,7 @@ impl Plugin for SpectralCompressor {
&mut self,
buffer: &mut Buffer,
aux: &mut AuxiliaryBuffers,
context: &mut impl ProcessContext,
context: &mut impl ProcessContext<Self>,
) -> ProcessStatus {
// If the window size has changed since the last process call, reset the buffers and chance
// our latency. All of these buffers already have enough capacity so this won't allocate.