Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Replaces a lost or muted backend at a main-thread safety point.

API: engine
Project: Inno.Audio.Runtime

public void Inno.Audio.Runtime.AudioRuntime.ReplaceDevice(Inno.Audio.IAudioDevice replacement)

Parameter replacement: Initialized replacement device, consumed on success and disposed if preparation fails.

Exception T:System.AggregateException: Retirement failed after publication preparation; the generation gate is Faulted and the host must restart.

Exception T:Inno.Core.Execution.RetirementTimeoutException: Old or candidate work did not drain before its deadline. Both owners remain retained and the host must restart.