Hi, I have been trying to get audio from a microphone using the following code.
I can’t create VoiceCapture.
It worked in UE4.25, but it fails in UE5 EA.
#define DEFAULT_DEVICE_NAME TEXT("Default Device")
VoiceCapture = FVoiceModule::Get().CreateVoiceCapture(DEFAULT_DEVICE_NAME, SampleRate, 1);