Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Sound
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Sound/SoundWave.h |
| Include | #include "Sound/SoundWave.h" |
Syntax
struct FStreamedAudioPlatformData
Remarks
Platform-specific data used streaming audio at runtime.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FStreamedAudioAsyncCacheDerivedDataTask * | AsyncTask | Async cache task if one is outstanding. | |
| TDontCopy< FRWLock > | AsyncTaskLock | Protection for AsyncTask manipulation since it can be accessed from multiple threads | |
| FName | AudioFormat | Format in which audio chunks are stored. | |
| TIndirectArray< struct FStreamedAudioChunk > | Chunks | Audio data. | |
| FString | DerivedDataKey | The key associated with this derived data. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Default constructor. |
Destructors
| Type | Name | Description | |
|---|---|---|---|
| Destructor. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | AreDerivedChunksAvailable
(
FStringView Context |
||
| void | Cache
(
USoundWave& InSoundWave, |
||
| void | FinishCache () |
||
| FName | Get the audio format making sure any async task are finished before returning. | ||
| int32 | GetChunkFromDDC
(
int32 ChunkIndex, |
Try to load audio chunk from the derived data cache or build it if it isn't there. | |
| TIndirectArray< struct FStreamedAudioChunk > & | GetChunks () |
Get the chunks while making sure any async task are finished before returning. | |
| int32 | GetNumChunks () |
Get the number of chunks while making sure any async task are finished before returning. | |
| bool | |||
| bool | IsCompiling () |
||
| bool | |||
| void | Serialize
(
FArchive& Ar, |
Serialization. | |
| bool |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | Use AreDerivedChunksAvailable with the context instead. |