Navigation
API > API/Runtime > API/Runtime/AudioMixer
Bus instance data. Holds source id bus instances and bus sends data.
| Name | FMixerAudioBus |
| Type | class |
| Header File | /Engine/Source/Runtime/AudioMixer/Public/AudioMixerBus.h |
| Include Path | #include "AudioMixerBus.h" |
Syntax
class FMixerAudioBus
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMixerAudioBus
(
FMixerSourceManager* SourceManager, |
Creates an audio bus. | AudioMixerBus.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AudioBusSends | TArray< FAudioBusSend > | Bus sends to this instance. | AudioMixerBus.h | |
| bIsAutomatic | bool | Was created manually, not via source buses. | AudioMixerBus.h | |
| CurrentBufferIndex | int32 | The index of the bus data currently being rendered. | AudioMixerBus.h | |
| FMixerSourceManager | friend | AudioMixerBus.h | ||
| FMixerSubmix | friend | AudioMixerBus.h | ||
| InstanceIds | TArray< int32 > | Array of instance ids. | AudioMixerBus.h | |
| MixedSourceData | FAlignedFloatBuffer | The mixed source data. | AudioMixerBus.h | |
| NumChannels | int32 | The number of channels of this bus. | AudioMixerBus.h | |
| NumFrames | int32 | The number of output frames. | AudioMixerBus.h | |
| PatchMixer | Audio::FPatchMixer | Multiple places can produce and consume from audio buses. | AudioMixerBus.h | |
| PatchSplitter | Audio::FPatchSplitter | AudioMixerBus.h | ||
| SourceManager | FMixerSourceManager * | Owning soruce manager. | AudioMixerBus.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddNewPatchInput
(
const FPatchInput& InPatchInput |
Allow anybody to write audio into this audio bus from any thread. | AudioMixerBus.h | |
void AddNewPatchOutput
(
const FPatchOutputStrongPtr& InPatchOutputStrongPtr |
Allow anybody to add a pre-existing patch output object to the audio bus. | AudioMixerBus.h | |
void RemovePatchInput
(
const FPatchInput& InPatchInput |
Allow anybody to write audio into this audio bus from any thread. | AudioMixerBus.h |