TracktionEngine
Loading...
Searching...
No Matches
Public Member Functions | List of all members
engine::HostedMidiInputDeviceNode Class Referencefinal

A Node that intercepts MIDI from a plugin callback and inserts it in to the playback graph. More...

#include <tracktion_HostedMidiInputDeviceNode.h>

Inheritance diagram for engine::HostedMidiInputDeviceNode:

Public Member Functions

 HostedMidiInputDeviceNode (InputDeviceInstance &, MidiInputDevice &, tracktion::graph::PlayHeadState &, tracktion::ProcessState &)
 
 ~HostedMidiInputDeviceNode () override
 
tracktion::graph::NodeProperties getNodeProperties () override
 
void prepareToPlay (const tracktion::graph::PlaybackInitialisationInfo &) override
 
bool isReadyToProcess () override
 
void process (ProcessContext &) override
 
void handleIncomingMidiMessage (const juce::MidiMessage &, MPESourceID) override
 Override this to receive MIDI input from the device if it has any.
 
- Public Member Functions inherited from engine::InputDeviceInstance::Consumer
virtual ~Consumer ()=default
 Destructor.
 
virtual void acceptInputBuffer (choc::buffer::ChannelArrayView< float >)
 Override this to receive audio input from the device if it has any.
 
virtual void discardRecordings (EditItemID)
 This is called when a recording is aborted so listeners should trash their temp data.
 

Detailed Description

A Node that intercepts MIDI from a plugin callback and inserts it in to the playback graph.

Constructor & Destructor Documentation

◆ HostedMidiInputDeviceNode()

engine::HostedMidiInputDeviceNode::HostedMidiInputDeviceNode ( InputDeviceInstance ,
MidiInputDevice ,
tracktion::graph::PlayHeadState &  ,
tracktion::ProcessState &   
)

◆ ~HostedMidiInputDeviceNode()

engine::HostedMidiInputDeviceNode::~HostedMidiInputDeviceNode ( )
override

Member Function Documentation

◆ getNodeProperties()

tracktion::graph::NodeProperties engine::HostedMidiInputDeviceNode::getNodeProperties ( )
override

◆ prepareToPlay()

void engine::HostedMidiInputDeviceNode::prepareToPlay ( const tracktion::graph::PlaybackInitialisationInfo &  )
override

◆ isReadyToProcess()

bool engine::HostedMidiInputDeviceNode::isReadyToProcess ( )
override

◆ process()

void engine::HostedMidiInputDeviceNode::process ( ProcessContext &  )
override

◆ handleIncomingMidiMessage()

void engine::HostedMidiInputDeviceNode::handleIncomingMidiMessage ( const juce::MidiMessage &  ,
MPESourceID   
)
overridevirtual

Override this to receive MIDI input from the device if it has any.

Reimplemented from engine::InputDeviceInstance::Consumer.


The documentation for this class was generated from the following file: