pub fn create_engine_with_options(
options: EngineOptions,
) -> (Box<dyn Context>, Box<dyn AudioProcess + Send>)Expand description
Create an audio engine with custom options
This returns a pair:
-
The
Contextis the root context. This will be required to create most nodes and should be kept in scope for the lifetime of the application -
The
AudioProcessis used to generate audio. This might be passed to a different thread if used in a realtime context, or it might be kept in the main thread if used offline.