Navigation
API > API/Developer > API/Developer/TargetPlatform > API/Developer/TargetPlatform/IAudioFormat
Description
Re-compresses raw PCM to the the platform dependent format, and then back to PCM. Used for quality previewing.
This function is, as far as I can tell, unused.
| Name | Recompress |
| Type | function |
| Header File | /Engine/Source/Developer/TargetPlatform/Public/Interfaces/IAudioFormat.h |
| Include Path | #include "Interfaces/IAudioFormat.h" |
int32 Recompress
(
FName Format,
const TArray < uint8 > & SrcBuffer,
FSoundQualityInfo & QualityInfo,
TArray < uint8 > & OutBuffer
) const
The size of the compressed audio, or 0 on failure.
Parameters
| Name | Remarks |
|---|---|
| Format | The desired format. |
| SrcBuffer | Uncompressed PCM data. |
| QualityInfo | All the information the compressor needs to compress the audio. |
| OutBuffer | Uncompressed PCM data after being compressed. |