You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Audio Bus Reader Node more accurately calculates how many samples it needs before it can start popping. Reader node has a CVar timeout on how long it'll wait for samples (whereas it used to calculate a huge timeout value that I suspect was erroneous). In theory the samples should always become available even with an infinite timeout. The Metasound generator's BuilderTask's completion is ensured at the beginning of FMetasoundGenerator::OnGenerateAudio. This prevents the mixer, writer and reader nodes from getting out of sync in terms of samples output and input. FMixerAudioBus::MixBuffer doesn't try to cache any samples and just uses PopAudio and PushAudio directly on its mixer and splitter. FPatchOutput::WaitUntilNumSamplesAvailable no longer has a race condition and an attempt has been made to improve thread-safety in FPatchOutput. #jira UE-170575 #rb phil.popp #preflight 63fcbfe2a134e0b059c64c76 [CL 24427705 by nicholas howe in ue5-main branch]