pub fn create_engine() -> (Box<dyn Context>, Box<dyn AudioProcess + Send>)Expand description
Create an engine with the default 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.