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

@@ -127,7 +127,7 @@ impl Plugin for Sine {
&mut self,
_bus_config: &BusConfig,
buffer_config: &BufferConfig,
_context: &mut impl InitContext,
_context: &mut impl InitContext<Self>,
) -> bool {
self.sample_rate = buffer_config.sample_rate;