TracktionEngine
|
Base class for classes that want to listen to an InputDevice and get a callback for each block of input. More...
Public Member Functions | |
virtual | ~Consumer ()=default |
Destructor. More... | |
virtual void | acceptInputBuffer (choc::buffer::ChannelArrayView< float >) |
Override this to receive audio input from the device if it has any. More... | |
virtual void | handleIncomingMidiMessage (const juce::MidiMessage &) |
Override this to receive MIDI input from the device if it has any. More... | |
virtual void | discardRecordings () |
This is called when a recording is aborted so listeners should trash their temp data. More... | |
Base class for classes that want to listen to an InputDevice and get a callback for each block of input.
Subclasses of this can be used to output live audio/MIDI or for visualisations etc.
|
virtualdefault |
Destructor.
|
virtual |
Override this to receive audio input from the device if it has any.
Reimplemented in tracktion::engine::WaveInputDeviceNode.
|
virtual |
Override this to receive MIDI input from the device if it has any.
Reimplemented in tracktion::engine::MidiInputDeviceNode, and tracktion::engine::HostedMidiInputDeviceNode.
|
virtual |
This is called when a recording is aborted so listeners should trash their temp data.
Reimplemented in tracktion::engine::MidiInputDeviceNode.