Once i’ve included the following headers:
#include "CleanThirdPerson.h"
#include "RecordMicAudio.h"
#include "Runtime/Online/OnlineSubsystemUtils/Public/OnlineSubsystemUtils.h"
#include "Runtime/Online/Voice/Public/Voice.h"
I get the following error message:
Error: This declaration has no storage class or type specifier - VoiceModule.h
Error: C2086 'int VOICE_API': redefinition - VoiceModule.h
In VoiceModule.h it doesn’t seem to like any of these lines of code:
/** Logging related to general voice chat flow (muting/registration/etc) */
VOICE_API DECLARE_LOG_CATEGORY_EXTERN(LogVoice, Display, All);
/** Logging related to encoding of local voice packets */
VOICE_API DECLARE_LOG_CATEGORY_EXTERN(LogVoiceEncode, Display, All);
/** Logging related to decoding of remote voice packets */
VOICE_API DECLARE_LOG_CATEGORY_EXTERN(LogVoiceDecode, Display, All);