IVoiceEngine::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

OnlineSubsystem

Header

/Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/VoiceInterface.h

Include

#include "Interfaces/VoiceInterface.h"

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