FVoiceModule::CreateVoiceCapture

Instantiates a new voice capture 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< IVoiceCapture > CreateVoiceCapture
(
    const FString & DeviceName,
    int32 SampleRate,
    int32 NumChannels
)

Remarks

Instantiates a new voice capture object

Returns

new voice capture object, possibly NULL

Parameters

Parameter

Description

DeviceName

name of device to capture audio data with, empty for default device

SampleRate

sampling rate of voice capture

NumChannels

number of channels to capture

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