My game uses voice/sound input as a game mechanic, and I’m struggling to get it to work on my Mac. The question I have is, what is the best way to get realtime sound input in the game? Do I have to roll my own, for each system I want the game to work on?
I’ve done plenty of digging, and got excited when I saw the VoiceCaptureModule. But then taking a look at the VoiceModuleMac.cpp, I see:
// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
#include "VoicePrivatePCH.h"
#include "VoiceCodecOpus.h"
#include "Voice.h"
bool InitVoiceCapture()
{
return false;
}
void ShutdownVoiceCapture()
{
}
IVoiceCapture* CreateVoiceCaptureObject()
{
return NULL;
}
IVoiceEncoder* CreateVoiceEncoderObject()
{
return NULL;
}
IVoiceDecoder* CreateVoiceDecoderObject()
{
return NULL;
}
Does this mean I can’t use the VoiceModule on a mac? If that’s the case, what should I start looking into to make it work?
Thanks!