Navigation
API > API/Developer > API/Developer/TargetPlatform > API/Developer/TargetPlatform/IAudioFormat
Description
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.
| Name | GetMinimumSizeForInitialChunk |
| Type | function |
| Header File | /Engine/Source/Developer/TargetPlatform/Public/Interfaces/IAudioFormat.h |
| Include Path | #include "Interfaces/IAudioFormat.h" |
virtual int32 GetMinimumSizeForInitialChunk
(
FName Format,
const TArray < uint8 > & SrcBuffer
) const
Parameters
| Name | Remarks |
|---|---|
| Format | the codec that SrcBuffer was compressed as. |
| SrcBuffer | the compressed data that will later be split into individual chunks. |