Navigation
Unreal Engine C++ API Reference > Developer > TargetPlatform > Interfaces > IAudioFormat
References
Module | TargetPlatform |
Header | /Engine/Source/Developer/TargetPlatform/Public/Interfaces/IAudioFormat.h |
Include | #include "Interfaces/IAudioFormat.h" |
int32 Recompress
&40;
FName Format,
const TArray< uint8 > & SrcBuffer,
FSoundQualityInfo & QualityInfo,
TArray< uint8 > & OutBuffer
&41; const
Remarks
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. The size of the compressed audio, or 0 on failure.
Parameters
Name | Description |
---|---|
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. |