USoundWave::GetCompressedDataSize

Gets the compressed data size from derived data cache for the specified format

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Sound/SoundWave.h

Include

#include "Sound/SoundWave.h"

Syntax

SIZE_T GetCompressedDataSize
(
    FName Format,
    const FPlatformAudioCookOverrides * CompressionOverrides
)

Remarks

Gets the compressed data size from derived data cache for the specified format

Returns

compressed data size, or zero if it could not be obtained

Parameters

Parameter

Description

Format

format of compressed data

CompressionOverrides

Optional argument for compression overrides.