Navigation
API > API/Runtime > API/Runtime/AudioCaptureCore
References
| Module | AudioCaptureCore |
| Header | /Engine/Source/Runtime/AudioCaptureCore/Public/AudioCaptureCore.h |
| Include | #include "AudioCaptureCore.h" |
Syntax
class FAudioCaptureSynth
Remarks
Class which contains an FAudioCapture object and performs analysis on the audio stream, only outputing audio if it matches a detection criteria.
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Immediately stop capturing audio. | ||
| bool | GetAudioData
(
TArray< float >& OutAudioData |
Retrieves audio data from the capture synth. | |
| bool | GetDefaultCaptureDeviceInfo
(
FCaptureDeviceInfo& OutInfo |
Gets the default capture device info. | |
| int32 | Returns the number of samples enqueued in the capture synth. | ||
| bool | IsCapturing () |
Returns true if the capture synth is capturing audio. | |
| bool | IsStreamOpen () |
Returned if the capture synth is closed. | |
| bool | Opens up a stream to the default capture device. | ||
| bool | Starts capturing audio. | ||
| void | Stops capturing audio. |