Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Owns playback scheduling, clip retention, mixer generations, and content synchronization.

API: engine
Implements: Inno.Audio.IAudioService
Inherits: Inno.Runtime.Contracts.RuntimeSubsystem
Project: Inno.Audio.Runtime

public sealed class Inno.Audio.Runtime.AudioRuntime : Inno.Runtime.Contracts.RuntimeSubsystem, Inno.Audio.IAudioService
Kind Element Description
Constructors AudioRuntime.Constructor Creates an audio runtime over one backend device generation.
Methods AudioRuntime.ApplyMixer Builds and atomically installs a mixer graph from reloadable extensions.
Methods AudioRuntime.EnterExecutionScope Binds this runtime to script-facing audio APIs for the current asynchronous flow.
Methods AudioRuntime.OnBeginFrame Captures snapshots and binds service façades.
Methods AudioRuntime.OnStart Acquires resources after dependencies have started.
Methods AudioRuntime.OnStop Stops voices and releases providers, cache entries, mixer generations, and the owned backend device.
Methods AudioRuntime.OnUpdate Advances domain state on the variable clock.
Methods AudioRuntime.Pause Pauses a live or preparing voice.
Methods AudioRuntime.Play(Inno.Audio.AudioClipAsset) Starts one clip using default playback parameters.
Methods AudioRuntime.Play(Inno.Audio.AudioClipAsset,Inno.Audio.AudioPlayOptions) Starts one clip using explicit playback parameters.
Methods AudioRuntime.PlayScheduled Schedules one clip against the monotonic audio clock.
Methods AudioRuntime.PreloadAsync Prepares and explicitly retains a clip cache entry.
Methods AudioRuntime.ReleasePreload Releases one explicit preload retention without interrupting voices.
Methods AudioRuntime.ReplaceDevice Replaces a lost or muted backend at a main-thread safety point.
Methods AudioRuntime.Resume Resumes a paused voice.
Methods AudioRuntime.Seek Moves a live or preparing voice cursor to a clip-relative position.
Methods AudioRuntime.SetBusMuted Updates mute state for a semantic mixer bus.
Methods AudioRuntime.SetBusPaused Updates pause state for a semantic mixer bus.
Methods AudioRuntime.SetBusVolume Updates linear gain for a semantic mixer bus.
Methods AudioRuntime.SetVoiceParameters Replaces mutable parameters for a live or preparing voice.
Methods AudioRuntime.Stop Stops a live or preparing voice.
Methods AudioRuntime.TryGetVoiceState Queries the current state of a runtime voice.
Methods AudioRuntime.TryRecoverDevice Attempts to replace a muted or lost output generation while preserving the active mixer graph.
Methods AudioRuntime.Update Advances providers, pending preparation, backend maintenance, and completion dispatch at a main-thread safety point.
Properties AudioRuntime.capabilities Gets immutable capabilities for the current backend generation.
Properties AudioRuntime.contentStatistics Gets bounded provider admission counts from the most recent content collection on this device generation.
Properties AudioRuntime.deviceState Gets the current output availability state.
Properties AudioRuntime.dspTime Gets the monotonic backend audio clock in seconds.
Properties AudioRuntime.statistics Gets current runtime resource statistics.