![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <SoundWave.h>
Public Member Functions | |
| ENGINE_API | FStreamedAudioPlatformData () |
| ENGINE_API | ~FStreamedAudioPlatformData () |
| ENGINE_API int32 | GetChunkFromDDC (int32 ChunkIndex, uint8 **OutChunkData, bool bMakeSureChunkIsLoaded=false) |
| ENGINE_API TIndirectArray< struct FStreamedAudioChunk > & | GetChunks () const |
| ENGINE_API int32 | GetNumChunks () const |
| ENGINE_API FName | GetAudioFormat () const |
| ENGINE_API void | Serialize (FArchive &Ar, class USoundWave *Owner) |
Public Attributes | |
| FName | AudioFormat |
| TIndirectArray< struct FStreamedAudioChunk > | Chunks |
Platform-specific data used streaming audio at runtime.
| FStreamedAudioPlatformData::FStreamedAudioPlatformData | ( | ) |
Default constructor.
| FStreamedAudioPlatformData::~FStreamedAudioPlatformData | ( | ) |
Destructor.
| FName FStreamedAudioPlatformData::GetAudioFormat | ( | ) | const |
Get the audio format making sure any async task are finished before returning.
| int32 FStreamedAudioPlatformData::GetChunkFromDDC | ( | int32 | ChunkIndex, |
| uint8 ** | OutChunkData, | ||
| bool | bMakeSureChunkIsLoaded = false |
||
| ) |
Try to load audio chunk from the derived data cache or build it if it isn't there.
| 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 |
| TIndirectArray< struct FStreamedAudioChunk > & FStreamedAudioPlatformData::GetChunks | ( | ) | const |
Get the chunks while making sure any async task are finished before returning.
| int32 FStreamedAudioPlatformData::GetNumChunks | ( | ) | const |
Get the number of chunks while making sure any async task are finished before returning.
| void FStreamedAudioPlatformData::Serialize | ( | FArchive & | Ar, |
| class USoundWave * | Owner | ||
| ) |
Serialization.
| FName FStreamedAudioPlatformData::AudioFormat |
Format in which audio chunks are stored.
| TIndirectArray<struct FStreamedAudioChunk> FStreamedAudioPlatformData::Chunks |
audio data.