FVoiceModule::CreateVoiceEncoder

Instantiates a new voice encoder object

Windows
MacOS
Linux

References

Module

Voice

Header

/Engine/Source/Runtime/Online/Voice/Public/VoiceModule.h

Include

#include "VoiceModule.h"

Source

/Engine/Source/Runtime/Online/Voice/Private/VoiceModule.cpp

Syntax

virtual TSharedPtr< IVoiceEncoder > CreateVoiceEncoder
(
    int32 SampleRate,
    int32 NumChannels,
    EAudioEncodeHint EncodeHint
)

Remarks

Instantiates a new voice encoder object

Returns

new voice encoder object, possibly NULL

Parameters

Parameter

Description

SampleRate

sampling rate of voice capture

NumChannels

number of channels to capture

EncodeHint

hint to describe type of audio quality desired

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