Fix for crash when metasound wave player uses ForceInline-ed audio on some platforms (increased decode size).

#rb Aaron.McLeran
#jira UE-137715
#preflight 61ef42b6ca3de856bce22a7d

#ROBOMERGE-AUTHOR: maxwell.hayes
#ROBOMERGE-SOURCE: CL 18717853 in //UE5/Release-5.0/... via CL 18717885 via CL 18718013
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18718038 by maxwell hayes in ue5-main branch]
This commit is contained in:
maxwell hayes
2022-01-24 19:42:07 -05:00
parent e6874bca8b
commit b5d37cfbb1
2 changed files with 3 additions and 3 deletions
@@ -78,7 +78,7 @@ namespace Audio
: OutputSampleRate(InInitParams.OutputSampleRate)
, MaxPitchShiftCents(InInitParams.MaxPitchShiftMagnitudeAllowedInOctaves * 1200.0f)
, MaxPitchShiftRatio(FMath::Pow(2.0f, InInitParams.MaxPitchShiftMagnitudeAllowedInOctaves))
, DecodeBlockSizeInFrames(64)
, DecodeBlockSizeInFrames(128) // 128 chosen due to some limitations on some platform decoders (must be an integer multiple of 128)
, OutputBlockSizeInFrames(InInitParams.OutputBlockSizeInFrames)
{
check(OutputBlockSizeInFrames > 0);