Navigation
API > API/Developer > API/Developer/TargetPlatform > API/Developer/TargetPlatform/Interfaces > API/Developer/TargetPlatform/Interfaces/IAudioFormat
References
| Module | TargetPlatform |
| Header | /Engine/Source/Developer/TargetPlatform/Public/Interfaces/IAudioFormat.h |
| Include | #include "Interfaces/IAudioFormat.h" |
bool CookSurround
&40;
FName Format,
const TArray< TArray< uint8 > > & SrcBuffers,
FSoundQualityInfo & QualityInfo,
TArray< uint8 > & OutBuffer
&41; 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. true if succeeded, false otherwise
Parameters
| Name | Description |
|---|---|
| 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. |