Navigation
API > API/Runtime > API/Runtime/Engine
A chunk of streamed audio.
| Name | FStreamedAudioChunk |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Classes/Sound/SoundWave.h |
| Include Path | #include "Sound/SoundWave.h" |
Syntax
struct FStreamedAudioChunk
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AudioDataSize | int32 | Size of the audio data. (NOTE: This includes a seek-table if its present.) | Sound/SoundWave.h | |
| bInlineChunk | bool | If marked true, will attempt to inline this chunk. | Sound/SoundWave.h | |
| bLoadedFromCookedPackage | bool | True if this chunk was loaded from a cooked package. | Sound/SoundWave.h | |
| BulkData | FByteBulkData | Bulk data if stored in the package. | Sound/SoundWave.h | |
| DataSize | int32 | Size of the chunk of data in bytes including zero padding | Sound/SoundWave.h | |
| DerivedDataKey | FString | Key if stored in the derived data cache. | Sound/SoundWave.h | |
| SeekOffsetInAudioFrames | uint32 | Chunk position in samples frames in the stream. | Sound/SoundWave.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CachedDataPtr | uint8 * | Sound/SoundWave.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool GetCopy
(
void** OutChunkData |
Returns false if data retrieval failed | Sound/SoundWave.h | |
FBulkDataBuffer< uint8 > MoveOutAsBuffer() |
Moves the memory out of the byte bulk-data. (Does copy with Discard original) | Sound/SoundWave.h | |
| Serialization. | Sound/SoundWave.h | ||
uint32 StoreInDerivedDataCache
(
const FString& InDerivedDataKey, |
Place chunk data in the derived data cache associated with the provided key. | Sound/SoundWave.h |