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" |
virtual int32 GetMinimumSizeForInitialChunk ( [FName](API\Runtime\Core\UObject\FName) Format, const [TArray](API\Runtime\Core\Containers\TArray)< uint8 > & SrcBuffer ) const
Remarks
Given the encoded buffer, returns the minimum number of bytes required to perform ICompressedAudioInfo::ReadCompressedInfo() or IStreamedCompressedInfo::ParseHeader() for this file.
This is called prior to SplitDataForStreaming(), and is used for determining FirstChunkMaxSize.
Parameters
Name | Description |
---|---|
Format | the codec that SrcBuffer was compressed as. |
SrcBuffer | the compressed data that will later be split into individual chunks. |