FPlatformAudioCookOverrides

[FPlatformAudioCookOverrides](API\Runtime\AudioPlatformConfiguration\FPlatformAudioCookOverrides) This struct is used for settings used during the cook to a target platform (platform-specific compression quality and resampling, etc.)

Windows
MacOS
Linux

References

Module

AudioPlatformConfiguration

Header

/Engine/Source/Runtime/AudioPlatformConfiguration/Public/AudioCompressionSettings.h

Include

#include "AudioCompressionSettings.h"

Syntax

struct FPlatformAudioCookOverrides

Remarks

FPlatformAudioCookOverrides This struct is used for settings used during the cook to a target platform (platform-specific compression quality and resampling, etc.)

Variables

Name Description

Public variable

float

 

AutoStreamingThreshold

When set to any platform > 0.0, this will automatically set any USoundWave beyond this value to be streamed from disk.

Public variable

bool

 

bResampleForDevice

Public variable

float

 

CompressionQualityModifier

Scales all compression qualities when cooking to this platform. For example, 0.5 will halve all compression qualities, and 1.0 will leave them unchanged.

Public variable

TMap< ESoundwav...

 

PlatformSampleRates

Mapping of which sample rates are used for each sample rate quality for a specific platform.

Constructors

Functions

Name Description

Public function Static

void

 

GetHashSuffix

(
    const FPlatformAudioCookOverrides&...,
    FString& OutSuffix
)

This is used to invalidate compressed audio for a specific platform.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback