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

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

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