/Engine/Source/Runtime/Engine/Public/AudioCompressionSettingsUtils.h
Returns the Duration Threshold for the current platform if it is overridden, -1.0f otherwise.
static float GetCompressionDurationForCurrentPlatform()