![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <VoiceCaptureWindows.h>
Classes | |
| struct | FCaptureDeviceInfo |
Public Member Functions | |
| FVoiceCaptureDeviceWindows () | |
| ~FVoiceCaptureDeviceWindows () | |
| FVoiceCaptureWindows * | CreateVoiceCaptureObject (const FString &DeviceName, int32 SampleRate, int32 NumChannels) |
Static Public Member Functions | |
| static FVoiceCaptureDeviceWindows * | Get () |
Public Attributes | |
| LPDIRECTSOUND8 | DirectSound |
| FString | HMDAudioInputDevice |
| FCaptureDeviceInfo | DefaultVoiceCaptureDevice |
| TMap< FString, FCaptureDeviceInfo > | Devices |
DirectSound wrapper for initialization / shutdown
| FVoiceCaptureDeviceWindows::FVoiceCaptureDeviceWindows | ( | ) |
Constructors
| FVoiceCaptureDeviceWindows::~FVoiceCaptureDeviceWindows | ( | ) |
| FVoiceCaptureWindows * FVoiceCaptureDeviceWindows::CreateVoiceCaptureObject | ( | const FString & | DeviceName, |
| int32 | SampleRate, | ||
| int32 | NumChannels | ||
| ) |
Create a single voice capture buffer
| DeviceName | name of device to capture with, empty for default device |
| SampleRate | valid sample rate to capture audio data (8khz - 48khz) |
| NumChannel | number of audio channels (1 - mono, 2 - stereo) |
|
static |
Singleton accessor
| FCaptureDeviceInfo FVoiceCaptureDeviceWindows::DefaultVoiceCaptureDevice |
GUID of selected voice capture device
| TMap<FString, FCaptureDeviceInfo> FVoiceCaptureDeviceWindows::Devices |
All available capture devices
| LPDIRECTSOUND8 FVoiceCaptureDeviceWindows::DirectSound |
DirectSound8 Interface
| FString FVoiceCaptureDeviceWindows::HMDAudioInputDevice |
HMD audio input device to use