Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Sound > API/Runtime/Engine/Sound/FStreamedAudioPlatformData
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Sound/SoundWave.h |
| Include | #include "Sound/SoundWave.h" |
| Source | /Engine/Source/Runtime/Engine/Private/AudioDerivedData.cpp |
int32 GetChunkFromDDC
&40;
int32 ChunkIndex,
uint8 &42;&42; OutChunkData,
bool bMakeSureChunkIsLoaded
&41;
Remarks
Try to load audio chunk from the derived data cache or build it if it isn't there. if > 0, the size of the chunk in bytes. If 0, the chunk failed to load.
Parameters
| Name | Description |
|---|---|
| ChunkIndex | The Chunk index to load. |
| OutChunkData | Address of pointer that will store chunk data - should either be NULL or have enough space for the chunk |