/Engine/Source/Runtime/SignalProcessing/Public/DSP/MultithreadedPatching.h
This function call gets the maximum number of samples that's safe to push. Thread safe, but blocks for PushAudio.
int32 MaxNumberOfSamplesThatCanBePushed()