Navigation
API > API/Plugins > API/Plugins/MIDIDevice
Common functionality for the different MIDI Device Controllers.
| Name | UMIDIDeviceControllerBase |
| Type | class |
| Header File | /Engine/Plugins/Runtime/MIDIDevice/Source/MIDIDevice/Public/MIDIDeviceControllerBase.h |
| Include Path | #include "MIDIDeviceControllerBase.h" |
Syntax
UCLASS (MinimalAPI, Abstract)
class UMIDIDeviceControllerBase : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMIDIDeviceControllerBase
Derived Classes
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FString GetDeviceName() |
The name of this device. This name comes from the MIDI hardware, any might not be unique | MIDIDeviceControllerBase.h | |
virtual int32 GetMIDIBufferSize() |
Size of the MIDI buffer in bytes | MIDIDeviceControllerBase.h | |
virtual void ProcessIncomingMIDIEvents () |
Called every frame by UMIDIDeviceManager to poll for new MIDI events and broadcast them out to subscribers of OnMIDIEvent. | MIDIDeviceControllerBase.h | |
virtual void ShutdownDevice() |
Called during destruction to clean up this device. Don't call this directly. | MIDIDeviceControllerBase.h | |
virtual void StartupDevice
(
const int32 InitDeviceID, |
Called from UMIDIDeviceManager after the controller is created to get it ready to use. | MIDIDeviceControllerBase.h |