IVoiceCapture::Init

Initialize the voice capture object

Windows
MacOS
Linux

References

Module

Voice

Header

/Engine/Source/Runtime/Online/Voice/Public/Interfaces/VoiceCapture.h

Include

#include "Interfaces/VoiceCapture.h"

Syntax

bool Init
(
    const FString & DeviceName,
    int32 SampleRate,
    int32 NumChannels
)

Remarks

Initialize the voice capture object

Returns

true if successful, false otherwise

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