FVoiceEngineImpl::GetIncomingAudioAmplitude

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::GetIncomingAudioAmplitude()

FVoiceEngineImpl::GetIncomingAudioAmplitude()

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 GetIncomingAudioAmplitude
(
    const FUniqueNetIdWrapper & RemoteUserId
)

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 RemoteUserId is 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