/Engine/Source/Runtime/SignalProcessing/Public/DSP/MultithreadedPatching.h
Pauses the current thread until there are the given number of samples available to pop. Will return true if it succeeded, false if it timed out.
bool WaitUntilNumSamplesAvailable ( int32 NumSamples, uint32 TimeOutMilliseconds )