Navigation
API > API/Runtime > API/Runtime/AudioCaptureCore
Inheritance Hierarchy
- IModularFeature
- IAudioCaptureStream
References
| Module | AudioCaptureCore |
| Header | /Engine/Source/Runtime/AudioCaptureCore/Public/AudioCaptureDeviceInterface.h |
| Include | #include "AudioCaptureDeviceInterface.h" |
Syntax
class IAudioCaptureStream : public IModularFeature
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | AbortStream () |
Abort the audio capture stream (stop and close) | |
| bool | CloseStream () |
Closes the audio capture stream. | |
| bool | GetCaptureDeviceInfo
(
FCaptureDeviceInfo& OutInfo, |
Returns the audio capture device information at the given Id. | |
| bool | GetIfHardwareFeatureIsSupported
(
EHardwareInputFeature FeatureType |
||
| bool | GetInputDevicesAvailable
(
TArray< FCaptureDeviceInfo >& OutDevices |
Returns the total amount of audio devices. | |
| int32 | Get the sample rate in use by the stream. | ||
| bool | GetStreamTime
(
double& OutStreamTime |
Get the stream time of the audio capture stream. | |
| bool | IsCapturing () |
Returns true if the audio capture stream is currently capturing audio. | |
| bool | IsStreamOpen () |
Returns if the audio capture stream has been opened. | |
| void | OnAudioCapture
(
void* InBuffer, |
This is the callback for querying audio from the input device. | |
| bool | OpenAudioCaptureStream
(
const FAudioCaptureDeviceParams& InParams, |
Opens the audio capture stream with the given parameters and using FOnAudioCaptureFunction for callbacks. | |
| bool | RegisterUser
(
const TCHAR* UserId |
Lets us know which users are in the system. | |
| void | SetHardwareFeatureEnabled
(
EHardwareInputFeature FeatureType, |
||
| bool | StartStream () |
Start the audio capture stream. | |
| bool | StopStream () |
Stop the audio capture stream. | |
| bool | UnregisterUser
(
const TCHAR* UserId |
Call this to remove a user that was added with RegisterUser. |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| PRAGMA_DISABLE_DEPRECATION_WARNINGS bool | OpenCaptureStream
(
const FAudioCaptureDeviceParams& InParams, |
OpenCaptureStream is deprecated, please use OpenAudioCaptureStream instead. |