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 bool SplitDataForStreaming ( const [TArray](API\Runtime\Core\Containers\TArray)< uint8 > & SrcBuffer, [TArray](API\Runtime\Core\Containers\TArray)< [TArray](API\Runtime\Core\Containers\TArray)< uint8 >> & OutBuffers, const int32 FirstChunkMaxSize, const int32 MaxChunkSize ) const
Remarks
Splits compressed data into chunks suitable for streaming audio. Whether bulk data could be split for streaming.
Parameters
Name | Description |
---|---|
SrcBuffer | Pre-compressed data as an array of bytes. |
OutBuffers | Array of buffers that contain the chunks the original data was split into. |
FirstChunkMaxSize | The maximum size for the chunk that will be loaded inline with it's owning USoundWave asset. |
MaxChunkSize | The maximum chunk size for each chunk. The chunks will be zero-padded to match this chunk size in the bulk data serialization. |