Navigation
API > API/Developer > API/Developer/TargetPlatform > API/Developer/TargetPlatform/Interfaces > API/Developer/TargetPlatform/Interfaces/IAudioFormat
References
| Module | TargetPlatform |
| Header | /Engine/Source/Developer/TargetPlatform/Public/Interfaces/IAudioFormat.h |
| Include | #include "Interfaces/IAudioFormat.h" |
virtual int32 GetMinimumSizeForInitialChunk
&40;
FName Format,
const TArray< uint8 > & SrcBuffer
&41; 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. |