Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/AudioPlatformConfiguration/Public/AudioCompressionSettings.h |
Include |
#include "AudioCompressionSettings.h" |
struct FPlatformAudioCookOverrides
FPlatformAudioCookOverrides This struct is used for settings used during the cook to a target platform (platform-specific compression quality and resampling, etc.)
Name | Description | ||
---|---|---|---|
|
float |
AutoStreamingThreshold |
When set to any platform > 0.0, this will automatically set any USoundWave beyond this value to be streamed from disk. |
|
bInlineStreamedAudioChunks |
Whether to put streamed audio chunks inline in the Pak file or not (only matters if bUseStreamCaching is true) |
|
|
bResampleForDevice |
||
|
bUseStreamCaching |
Whether to use the experimental Load on Demand feature, which uses as little memory at runtime as possible. |
|
|
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. |
|
PlatformSampleRates |
Mapping of which sample rates are used for each sample rate quality for a specific platform. |
|
|
SoundCueCookQualityIndex |
If set, the cooker will keep only this level of quality. |
|
|
StreamCachingSettings |
If Load On Demand is enabled, these settings are used to determine chunks and cache sizes. |
Name | Description | |
---|---|---|
|
FPlatformAudioCookOverrides() |
Name | Description | ||
---|---|---|---|
|
GetHashSuffix ( |
This is used to invalidate compressed audio for a specific platform. |
|
|
GetStreamCachingVersion() |
Increment this return value to force a recook on all Stream Caching assets. |