IVoiceCapture::ChangeDevice

Change the associated capture device

Windows
MacOS
Linux

References

Module

Voice

Header

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

Include

#include "Interfaces/VoiceCapture.h"

Syntax

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

Remarks

Change the associated capture device

Returns

true if change was 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