FMixerDevice::Get2DChannelMap

Builds a channel gain matrix for a non-spatialized source. The non-static variation of this function queries AudioMixerDevice->NumOutputChannels directly which may not be thread safe.

Windows
MacOS
Linux

References

Module

AudioMixer

Header

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

Include

#include "AudioMixerDevice.h"

Source

/Engine/Source/Runtime/AudioMixer/Private/AudioMixerChannelMaps.cpp

Syntax

void Get2DChannelMap
(
    bool bIsVorbis,
    const int32 NumSourceChannels,
    const bool bIsCenterChannelOnly,
    Audio::AlignedFloatBuffer & OutChannelMap
) const

Remarks

Builds a channel gain matrix for a non-spatialized source. The non-static variation of this function queries AudioMixerDevice->NumOutputChannels directly which may not be thread safe.

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