Synced
AudioContentProviderContext
Section titled “AudioContentProviderContext”
- Collects one bounded, atomic provider contribution on the owning control thread.
Required contracts
Section titled “Required contracts”API: engine
Implements: System.IDisposable
Inherits: object
Project: Inno.Audio
Declaration
Section titled “Declaration”public sealed class Inno.Audio.AudioContentProviderContext : System.IDisposableRemarks
Section titled “Remarks”The host disposes this borrowed context when the provider returns. A rejected submission invalidates the entire contribution, even if the provider catches the exception. The context does not own the content scope.
Members
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Constructors | AudioContentProviderContext.Constructor | Opens a control-thread snapshot collector over one content read scope. |
| Methods | AudioContentProviderContext.Dispose | Revokes submission and releases collected references without disposing the borrowed content scope. |
| Methods | AudioContentProviderContext.Submit(Inno.Audio.AudioEmitterSnapshot) | Submits one immutable emitter snapshot for runtime synchronization. |
| Methods | AudioContentProviderContext.Submit(Inno.Audio.AudioListenerSnapshot) | Submits one immutable listener snapshot for runtime selection. |
| Properties | AudioContentProviderContext.capacity | Gets the immutable combined snapshot budget assigned to this invocation. |
| Properties | AudioContentProviderContext.content | Gets explicit host content visible during this update. |
| Properties | AudioContentProviderContext.deltaTime | Gets non-negative elapsed frame time in seconds. |
| Properties | AudioContentProviderContext.emitters | Gets a frozen copy of submitted source state in provider order. |
| Properties | AudioContentProviderContext.listeners | Gets a frozen copy of submitted listener state in provider order. |