FMixerBus

Bus instance data. Holds source id bus instances and bus sends data.

Windows
MacOS
Linux

References

Module

AudioMixer

Header

/Engine/Source/Runtime/AudioMixer/Public/AudioMixerBus.h

Include

#include "AudioMixerBus.h"

Syntax

class FMixerBus

Remarks

Bus instance data. Holds source id bus instances and bus sends data.

Constructors

Name Description

Public function

FMixerBus

(
    FMixerSourceManager* SourceMan...,
    const int32 InNumChannels,
    const int32 InNumFrames
)

Functions

Name Description

Public function

void

 

AddBusSend

(
    EBusSendType BusSendType,
    const FBusSend& InBusSend
)

Adds a buss end to the bus.

Public function

void

 

AddInstanceId

(
    const int32 InSourceInstanceId,
    int32 InNumOutputChannels
)

Adds a source id for instances of this bus.

Public function Const

const float ...

 

GetCurrentBusBuffer()

Gets the current mixed bus buffer.

Public function Const

const float ...

 

GetPreviousBusBuffer()

Gets the previous mixed bus buffer.

Public function

void

 

MixBuffer()

Compute the mixed buffer.

Public function

bool

 

RemoveBusSend

(
    EBusSendType BusSendType,
    const int32 InSourceId
)

Removes the source instance from this bus's send list.

Public function

bool

 

RemoveInstanceId

(
    const int32 InSourceId
)

Removes the source id from this bus. Returns true if there are no more instances or sends.

Public function

void

 

Update()

Update the mixer bus after a render block.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss