Navigation
API > API/Runtime > API/Runtime/Engine
Struct that's serialized into the DDC record for "Audio" DDC task. Filled in by the encoders, additional relevant state is passed back here. Like decisions make during encoding, like resampling, transformations etc.
| Name | FAudioCookOutputs |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/AudioDerivedData.h |
| Include Path | #include "AudioDerivedData.h" |
Syntax
USTRUCT ()
struct FAudioCookOutputs
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| EncodedData | TArray< uint8 > | The Binary output of the IAudioFormat. | AudioDerivedData.h | |
| Id | uint32 | AudioDerivedData.h | ||
| NumChannels | int32 | Final channel count that was encoded by the IAudioFormat | AudioDerivedData.h | |
| NumFrames | uint32 | Number of frames in the encoded data. | AudioDerivedData.h | |
| SampleRate | int32 | Final Sample rate that was encoded by IAudioFormat | AudioDerivedData.h | |
| Version | int32 | AudioDerivedData.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool Serialize
(
FArchive& Ar |
Serializer (read/write) | AudioDerivedData.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static uint32 GetId() |
Get the expected ID of this struct. uint32 so we can peek at memory. | AudioDerivedData.h | |
static int32 GetVersion() |
Gets the current Version expected. Any other versions would be an error. | AudioDerivedData.h |