Add AsyncExecutor support to InitContext

This commit is contained in:
Robbert van der Helm
2022-10-22 00:21:08 +02:00
parent 0d90969566
commit 6ffa23971e
22 changed files with 58 additions and 20 deletions

View File

@@ -184,7 +184,7 @@ impl Plugin for PubertySimulator {
&mut self,
_bus_config: &BusConfig,
_buffer_config: &BufferConfig,
context: &mut impl InitContext,
context: &mut impl InitContext<Self>,
) -> bool {
// Planning with RustFFT is very fast, but it will still allocate we we'll plan all of the
// FFTs we might need in advance