unreal.AudioCapture

class unreal.AudioCapture(outer: Object | None = None, name: Name | str = 'None')

Bases: AudioGenerator

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

C++ Source:

  • Plugin: AudioCapture

  • Module: AudioCapture

  • File: AudioCapture.h

get_audio_capture_device_info() AudioCaptureDeviceInfo or None

Returns the audio capture device info

Returns:

out_info (AudioCaptureDeviceInfo):

Return type:

AudioCaptureDeviceInfo or None

is_capturing_audio() bool

Returns true if capturing audio

Return type:

bool

start_capturing_audio() None

Starts capturing audio

stop_capturing_audio() None

Stops capturing audio