FBaseChannelFormatConverter::GetTargetMixGain

Returns the scalar gain used to mix the input channel index into the output channel index.

Windows
MacOS
Linux

References

Module

SignalProcessing

Header

/Engine/Source/Runtime/SignalProcessing/Public/DSP/AudioChannelFormatConverter.h

Include

#include "DSP/AudioChannelFormatConverter.h"

Source

/Engine/Source/Runtime/SignalProcessing/Private/AudioChannelFormatConverter.cpp

Syntax

float GetTargetMixGain
(
    int32 InInputChannelIndex,
    int32 InOutputChannelIndex
) const

Remarks

Returns the scalar gain used to mix the input channel index into the output channel index.

If the gains are to be faded during the subsequent call to ProcessAudio(), this will return the ending gain.

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