unreal.TakeRecorderMicrophoneAudioManager¶
- class unreal.TakeRecorderMicrophoneAudioManager(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
TakeRecorderAudioInputSettings- This class exposes the audio input device list via the project settings details. It does this in
conjunction with FAudioInputDevicePropertyCustomization. It also manages the IAudioCaptureEditor object which handles the low level audio device recording.
C++ Source:
Plugin: Takes
Module: TakeRecorderSources
File: TakeRecorderMicrophoneAudioManager.h
Editor Properties: (see get_editor_property/set_editor_property)
audio_input_device(AudioInputDeviceProperty): [Read-Write] The audio device to use for this microphone sourceon_audio_input_device_property_changed(OnAudioInputDevicePropertyChanged): [Read-Write] Fires after AudioInputDevice is modified — via editor edit or SetAudioInputDevice.
- property audio_input_device: AudioInputDeviceProperty¶
[Read-Write] The audio device to use for this microphone source
- Type:
- enumerate_audio_devices(force_refresh=False) None¶
Enumerates the audio devices present on the current machine
- Parameters:
force_refresh (bool)
- get_audio_input_device() AudioInputDeviceProperty¶
Returns the currently configured audio input device settings (device id, buffer size, default-device flag, cached device list).
- Return type:
- get_device_channel_count() int32¶
Returns input channel count for currently selected audio device
- Return type:
int32
- property on_audio_input_device_property_changed: OnAudioInputDevicePropertyChanged¶
[Read-Write] Fires after AudioInputDevice is modified — via editor edit or SetAudioInputDevice.
- set_audio_input_device(audio_input_device) None¶
Sets the audio input device settings and notifies dependents — broadcasts OnNotifySourcesOfDeviceChange (so every microphone source re-evaluates its channel) and OnAudioInputDeviceChanged (so UI customizations refresh). Saves config when invoked on the CDO (the canonical instance returned by GetMutableDefault<>).
- Parameters:
audio_input_device (AudioInputDeviceProperty)