Navigation
API > API/Plugins > API/Plugins/AudioCapture
Class which opens up a handle to an audio capture device. Allows other objects to get audio buffers from the capture device.
| Name | UAudioCapture |
| Type | class |
| Header File | /Engine/Plugins/Runtime/AudioCapture/Source/AudioCapture/Public/AudioCapture.h |
| Include Path | #include "AudioCapture.h" |
Syntax
UCLASS (MinimalAPI, ClassGroup=(Custom), Meta=(BlueprintSpawnableComponent))
class UAudioCapture : public UAudioGenerator
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UAudioGenerator → UAudioCapture
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UAudioCapture() |
AudioCapture.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~UAudioCapture() |
AudioCapture.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool GetAudioCaptureDeviceInfo
(
FAudioCaptureDeviceInfo& OutInfo |
Returns the audio capture device info. | AudioCapture.h |
|
bool IsCapturingAudio() |
Returns true if capturing audio. | AudioCapture.h |
|
bool OpenDefaultAudioStream() |
AudioCapture.h | ||
void StartCapturingAudio() |
Starts capturing audio. | AudioCapture.h |
|
void StopCapturingAudio() |
Stops capturing audio. | AudioCapture.h |
|