Navigation
API > API/Developer > API/Developer/TargetPlatform > API/Developer/TargetPlatform/IAudioFormat
Description
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.
| Name | CookSurround |
| Type | function |
| Header File | /Engine/Source/Developer/TargetPlatform/Public/Interfaces/IAudioFormat.h |
| Include Path | #include "Interfaces/IAudioFormat.h" |
bool CookSurround
(
FName Format,
const TArray < TArray < uint8 > > & SrcBuffers,
FSoundQualityInfo & QualityInfo,
TArray < uint8 > & OutBuffer
) const
true if succeeded, false otherwise
Parameters
| Name | Remarks |
|---|---|
| Format | The desired format. |
| SrcBuffers | The source buffers. Buffers are mono 16 bit PCM. |
| QualityInfo | All the information the compressor needs to compress the audio. QualityInfo.Duration is unset. |
| OutBuffer | Will contain the resulting compressed audio. |