UAudioCapture

Class which opens up a handle to an audio capture device.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

AudioCapture

Header

/Engine/Plugins/Runtime/AudioCapture/Source/AudioCapture/Public/AudioCapture.h

Include

#include "AudioCapture.h"

Syntax

UCLASS(ClassGroup=(Custom), Meta=(BlueprintSpawnableComponent))
class UAudioCapture : public UAudioGenerator

Remarks

Class which opens up a handle to an audio capture device. Allows other objects to get audio buffers from the capture device.

Variables

Name Description

Protected variable

Audio::FAudioCa...

 

AudioCapture

Constructors

Name Description

Public function

UAudioCapture()

Destructors

Name Description

Public function

~UAudioCapture()

Functions

Name Description

Public function UFunction BlueprintCallable, Category

bool

 

GetAudioCaptureDeviceInfo

(
    FAudioCaptureDeviceInfo& OutInfo
)

Returns the audio capture device info.

Public function UFunction BlueprintCallable, Category

bool

 

IsCapturingAudio()

Returns true if capturing audio.

Public function

bool

 

OpenDefaultAudioStream()

Public function UFunction BlueprintCallable, Category

void

 

StartCapturingAudio()

Starts capturing audio.

Public function UFunction BlueprintCallable, Category

void

 

StopCapturingAudio()

Stops capturing audio.