IAudioFormat::CookSurround

Cooks up to 8 mono files into a multi-stream file (e.g. 5.1).

Windows
MacOS
Linux

References

Module

TargetPlatform

Header

/Engine/Source/Developer/TargetPlatform/Public/Interfaces/IAudioFormat.h

Include

#include "Interfaces/IAudioFormat.h"

Syntax

bool CookSurround
(
    FName Format,
    const TArray< TArray< uint8 > > & SrcBuffers,
    FSoundQualityInfo & QualityInfo,
    TArray< uint8 > & OutBuffer
) const

Remarks

Cooks up to 8 mono files into a multi-stream file (e.g. 5.1). The front left channel is required, the rest are optional.

Returns

true if succeeded, false otherwise

Parameters

Parameter

Description

Format

The desired format.

SrcBuffers

The source buffers.

QualityInfo

All the information the compressor needs to compress the audio

OutBuffer

Will contain the resulting compressed audio.

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