Navigation
API > API/Plugins > API/Plugins/TakeRecorderSources
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.
| Name | UTakeRecorderMicrophoneAudioManager |
| Type | class |
| Header File | /Engine/Plugins/VirtualProduction/Takes/Source/TakeRecorderSources/Public/TakeRecorderMicrophoneAudioManager.h |
| Include Path | #include "TakeRecorderMicrophoneAudioManager.h" |
Syntax
UCLASS (MinimalAPI, Config=EditorPerProjectUserSettings, PerObjectConfig,
DisplayName="Audio Input Device")
class UTakeRecorderMicrophoneAudioManager : public UTakeRecorderAudioInputSettings
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UTakeRecorderAudioInputSettings → UTakeRecorderMicrophoneAudioManager
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UTakeRecorderMicrophoneAudioManager
(
const FObjectInitializer& ObjInit |
TakeRecorderMicrophoneAudioManager.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AudioInputDevice | FAudioInputDeviceProperty | The audio device to use for this microphone source | TakeRecorderMicrophoneAudioManager.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AudioRecorder | TUniquePtr< IAudioCaptureEditor > | The audio recorder object which manages low level recording of audio data | TakeRecorderMicrophoneAudioManager.h | |
| OnNotifySourcesOfDeviceChange | FOnNotifySourcesOfDeviceChange | Multicast delegate which notifies clients when the currently selected audio device changes. | TakeRecorderMicrophoneAudioManager.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void EnumerateAudioDevices
(
bool InForceRefresh |
Enumerates the audio devices present on the current machine | TakeRecorderMicrophoneAudioManager.h | |
void FinalizeRecording () |
Calls FinalizeRecording on the AudioRecorder object. | TakeRecorderMicrophoneAudioManager.h | |
virtual int32 GetDeviceChannelCount() |
Returns input channel count for currently selected audio device | TakeRecorderMicrophoneAudioManager.h | |
FOnNotifySourcesOfDeviceChange & GetOnNotifySourcesOfDeviceChange() |
Accessor for the OnNotifySourcesOfDeviceChange delegate list | TakeRecorderMicrophoneAudioManager.h | |
TObjectPtr< class USoundWave > GetRecordedSoundWave
(
const FTakeRecorderAudioSourceSettings& InSourceSettings |
Fetches the USoundWave for this source after a Take has been recorded | TakeRecorderMicrophoneAudioManager.h | |
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
TakeRecorderMicrophoneAudioManager.h | ||
void StartRecording
(
int32 InChannelCount |
Calls StartRecording on the AudioRecorder object. | TakeRecorderMicrophoneAudioManager.h | |
void StopRecording () |
Calls StopRecording on the AudioRecorder object. | TakeRecorderMicrophoneAudioManager.h |