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 ( [FName](API\Runtime\Core\UObject\FName) Format, const [TArray](API\Runtime\Core\Containers\TArray)< uint8 > & SrcBuffer, [FSoundQualityInfo](API\Developer\TargetPlatform\Interfaces\FSoundQualityInfo) & QualityInfo, [TArray](API\Runtime\Core\Containers\TArray)< uint8 > & OutBuffer ) 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. |