Navigation
API > API/Runtime > API/Runtime/AudioPlatformConfiguration
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
| Type | 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. | |
| bool | bInlineFirstAudioChunk | Wether to inline the first "Audio" chunk, which is typically chunk 1. (Only on assets marked retain-on-load with a size of audio in secs set) | |
| bool | bResampleForDevice | ||
| 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. | |
| float | LengthOfFirstAudioChunkInSecs | This will decide how much data to put in the first audio chunk. | |
| TMap< ESoundwaveSampleRateSettings, float > | PlatformSampleRates | Mapping of which sample rates are used for each sample rate quality for a specific platform. | |
| int32 | SoundCueCookQualityIndex | If set, the cooker will keep only this level of quality. | |
| FAudioStreamCachingSettings | StreamCachingSettings | If Load On Demand is enabled, these settings are used to determine chunks and cache sizes. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | GetHashSuffix
(
const FPlatformAudioCookOverrides* InOverrides, |
This is used to invalidate compressed audio for a specific platform. | |
| int32 | Increment this return value to force a recook on all Stream Caching assets. |