UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
MediaAudioResampler Namespace Reference

Functions

bool Downmix (const float *Src, const uint32 SrcChannels, uint32 SrcFrames, float *Dest, const uint32 DestChannels)
 

Function Documentation

◆ Downmix()

bool MediaAudioResampler::Downmix ( const float Src,
const uint32  SrcChannels,
uint32  SrcFrames,
float Dest,
const uint32  DestChannels 
)

Down-mix a sample buffer.

Parameters
SrcThe buffer to down-mix from.
SrcChannelsThe number of audio channels in Src.
SrcFramesThe number of frames in Src.
DestThe buffer to down-mix to.
DestChannelsThe number of channels in Dest.
Returns
true on success, false otherwise.