Vixen
02b45cc4
csharp
public sealed class AudioSend

A copy of one bus's signal, added into another at some level.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

The second of the two ways a bus can reach another one, and the one that makes a mixer a graph rather than a tree. A bus's parent is where its signal goes; a send is where a copy of it also goes, and the copy does not stop it reaching the parent as well.

Level is an ordinary Single written from the game thread while the audio thread reads it, on the same terms as Gain: the CLR writes one atomically, so the worst outcome is a change landing one block late. That is what lets a send level be driven per frame — an emitter's reverb amount tracking how far into a room it is, say — without a queue.

Fields and properties (4)

  • public AudioBus Target

    Where the copy goes.

  • public bool PreFader

    Whether the copy is taken before the source bus's own gain and mute.

  • public float Level

    How much of the signal to send, as a linear gain. Zero costs one branch a block.

  • public float ParameterLevel

    What parameter automation last worked out for this send, as a linear multiplier.

Used by (11)

  • AudioBusVixen.Audio
  • AudioMixerVixen.Audio
  • AudioRoutingTestsVixen.Audio.Tests
  • BindingVixen.Audio
  • MixControlVixen.Audio
  • MixControlTestsVixen.Audio.Tests
  • MixerAssetTestsVixen.Audio.Tests
  • MixerParameterTestsVixen.Audio.Tests
  • MixerParametersVixen.Audio
  • MixerSnapshotsVixen.Audio
  • SendTargetVixen.Audio