Skip to content
API referenceDevelopmentRuntime scriptingEngine ccf7d03f
Synced
  • Adds one semantic bus to the graph.

API: scripting
Project: Inno.Audio
Scope: Runtime

public void InnoEngine.Audio.AudioMixerBuilder.AddBus(InnoEngine.Audio.AudioBusId id, InnoEngine.Audio.AudioBusId parent, float volume = 1, bool muted = false)

Parameter id: Stable bus identifier.

Parameter parent: Parent bus identifier.

Parameter volume: Initial non-negative linear gain.

Parameter muted: Whether output is initially silenced.

Exception T:System.ArgumentException: Thrown when the bus identifier is invalid or duplicated.