Synced
AudioExecutionContext.EnterScope
Section titled “AudioExecutionContext.EnterScope”
- Binds an audio service until the returned strict last-in-first-out scope is disposed.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Audio
Declaration
Section titled “Declaration”public static System.IDisposable Inno.Audio.AudioExecutionContext.EnterScope(Inno.Audio.IAudioService audio)Parameters
Section titled “Parameters”Parameter audio: Host-owned audio service exposed to script-facing operations.
Returns
Section titled “Returns”A strict last-in-first-out scope owned by the caller.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentNullException: Thrown when audio is null.