FVoiceEngineImpl::GetMicrophoneAmplitude

This can be used to get how loud the given microphone input is, typically on a scale between 0.0 and 1.0.

Windows
MacOS
Linux

Override Hierarchy

IVoiceEngine::GetMicrophoneAmplitude()

FVoiceEngineImpl::GetMicrophoneAmplitude()

References

Module

OnlineSubsystemUtils

Header

/Engine/Plugins/Online/OnlineSubsystemUtils/Source/OnlineSubsystemUtils/Public/VoiceEngineImpl.h

Include

#include "VoiceEngineImpl.h"

Source

/Engine/Plugins/Online/OnlineSubsystemUtils/Source/OnlineSubsystemUtils/Private/VoiceEngineImpl.cpp

Syntax

virtual float GetMicrophoneAmplitude
(
    int32 LocalUserNum
)

Remarks

This can be used to get how loud the given microphone input is, typically on a scale between 0.0 and 1.0.

Returns

-1.0 if getting the mic amplitude is not supported on this platform or LocalUserNum was invalid, 0.0-1.0 otherwise.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss