![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <VoiceCapture.h>
Inheritance diagram for IVoiceCapture:Protected Member Functions | |
| IVoiceCapture () | |
Protected Member Functions inherited from TSharedFromThis< IVoiceCapture > | |
| TSharedFromThis () | |
| TSharedFromThis (TSharedFromThis const &) | |
| UE_FORCEINLINE_HINT TSharedFromThis & | operator= (TSharedFromThis const &) |
| ~TSharedFromThis () | |
Protected Attributes | |
| Audio::FPatchSplitter | MicrophoneOutput |
Additional Inherited Members | |
Static Protected Member Functions inherited from TSharedFromThis< IVoiceCapture > | |
| static UE_FORCEINLINE_HINT TSharedRef< OtherType, Mode > | SharedThis (OtherType *ThisPtr) |
| static UE_FORCEINLINE_HINT TSharedRef< OtherType const, Mode > | SharedThis (const OtherType *ThisPtr) |
Interface for capturing voice data on any platform
|
inlineprotected |
|
inlinevirtual |
|
pure virtual |
Change the associated capture device
| 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 |
Implemented in FVoiceCaptureOpenSLES, FVoiceCaptureCoreAudio, and FVoiceCaptureWindows.
Dump the state of the voice capture device
Implemented in FVoiceCaptureOpenSLES, FVoiceCaptureCoreAudio, and FVoiceCaptureWindows.
Implemented in FVoiceCaptureOpenSLES, FVoiceCaptureCoreAudio, and FVoiceCaptureWindows.
|
pure virtual |
Return the state of the voice data and its availability
| OutAvailableVoiceData | size, in bytes, of available voice data |
Implemented in FVoiceCaptureOpenSLES, FVoiceCaptureCoreAudio, and FVoiceCaptureWindows.
Reimplemented in FVoiceCaptureWindows.
|
inline |
|
inlinevirtual |
Fill a buffer with all available voice data
| 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. |
Reimplemented in FVoiceCaptureOpenSLES, FVoiceCaptureCoreAudio, and FVoiceCaptureWindows.
|
inlinevirtual |
Reimplemented in FVoiceCaptureWindows.
|
pure virtual |
Initialize the voice capture object
| 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 |
Implemented in FVoiceCaptureOpenSLES, FVoiceCaptureCoreAudio, and FVoiceCaptureWindows.
Is the voice capture object actively capturing
Implemented in FVoiceCaptureOpenSLES, FVoiceCaptureCoreAudio, and FVoiceCaptureWindows.
Shutdown the voice capture object
Implemented in FVoiceCaptureOpenSLES, FVoiceCaptureCoreAudio, and FVoiceCaptureWindows.
Start capturing voice
Implemented in FVoiceCaptureOpenSLES, FVoiceCaptureCoreAudio, and FVoiceCaptureWindows.
Stop capturing voice
Implemented in FVoiceCaptureOpenSLES, FVoiceCaptureCoreAudio, and FVoiceCaptureWindows.
|
protected |
Optional patch point for MicrophoneOutput.