IVoiceCapture::GetVoiceData

Fill a buffer with all available voice data

Windows
MacOS
Linux

References

Module

Voice

Header

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

Include

#include "Interfaces/VoiceCapture.h"

Syntax

virtual EVoiceCaptureState::Type GetVoiceData
(
    uint8 * OutVoiceBuffer,
    uint32 InVoiceBufferSize,
    uint32 & OutAvailableVoiceData
)

Remarks

Fill a buffer with all available voice data

Returns

state of the voice capture buffer

Parameters

Parameter

Description

OutVoiceBuffer

allocated buffer to fill with voice data

InVoiceBufferSize

size, in bytes, of allocated buffer

OutAvailableVoiceData

size, in bytes, of data placed in the OutVoiceBuffer

OutSampleCounter

optional parameter for beginning sample of this buffer.

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