Navigation
API > API/Runtime > API/Runtime/AudioPlatformConfiguration
| Name | FPlatformRuntimeAudioCompressionOverrides |
| Type | struct |
| Header File | /Engine/Source/Runtime/AudioPlatformConfiguration/Public/AudioCompressionSettings.h |
| Include Path | #include "AudioCompressionSettings.h" |
Syntax
USTRUCT ()
struct FPlatformRuntimeAudioCompressionOverrides
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPlatformRuntimeAudioCompressionOverrides() |
AudioCompressionSettings.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| DefaultCompressionOverrides | FPlatformRuntimeAudioCompressionOverrides * | AudioCompressionSettings.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bOverrideCompressionTimes | bool | When true, overrides the Sound Group on each Sound Wave, and instead uses the Duration Threshold value to determine whether a sound should be fully decompressed during initial loading. | AudioCompressionSettings.h |
|
| DurationThreshold | float | When Override Compression Times is set to true, any sound under this threshold (in seconds) will be fully decompressed on load. | AudioCompressionSettings.h |
|
| MaxNumRandomBranches | int32 | On this platform, any random nodes on Sound Cues will automatically only preload this number of branches and dispose of any others on load. | AudioCompressionSettings.h |
|
| SoundCueQualityIndex | int32 | On this platform, use the specified quality at this index to override the quality used for SoundCues on this platform. | AudioCompressionSettings.h |
|
Functions
Public
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FPlatformRuntimeAudioCompressionOverrides * GetDefaultCompressionOverrides() |
Get singleton containing default settings for compression. | AudioCompressionSettings.h |