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 Cook
&40;
FName Format,
const TArray< uint8 > & SrcBuffer,
FSoundQualityInfo & QualityInfo,
TArray< uint8 > & OutBuffer
&41; const
Remarks
Cooks the source data for the platform and stores the cooked data internally. true on success, false otherwise.
Parameters
Name | Description |
---|---|
Format | The desired format. |
SrcBuffer | The source buffer. Buffers are 16 bit PCM, either mono or stereo (check QualityInfo.NumChannels) |
QualityInfo | All the information the compressor needs to compress the audio. QualityInfo.Duration is unset. |
OutBuffer | Will hold the resulting compressed audio. |