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

A Node that intercepts incoming live audio and inserts it in to the playback graph. More...

#include <tracktion_WaveInputDeviceNode.h>

Inheritance diagram for engine::WaveInputDeviceNode:

Public Member Functions

 WaveInputDeviceNode (InputDeviceInstance &, WaveInputDevice &, const juce::AudioChannelSet &destChannelsToFill)
 
 ~WaveInputDeviceNode () override
 
tracktion::graph::NodeProperties getNodeProperties () override
 
void prepareToPlay (const tracktion::graph::PlaybackInitialisationInfo &) override
 
bool isReadyToProcess () override
 
void process (ProcessContext &) override
 
void acceptInputBuffer (choc::buffer::ChannelArrayView< float >) override
 Override this to receive audio input from the device if it has any.
 
- Public Member Functions inherited from engine::InputDeviceInstance::Consumer
virtual ~Consumer ()=default
 Destructor.
 
virtual void handleIncomingMidiMessage (const juce::MidiMessage &, MPESourceID)
 Override this to receive MIDI 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 incoming live audio and inserts it in to the playback graph.

Constructor & Destructor Documentation

◆ WaveInputDeviceNode()

engine::WaveInputDeviceNode::WaveInputDeviceNode ( InputDeviceInstance ,
WaveInputDevice ,
const juce::AudioChannelSet &  destChannelsToFill 
)

◆ ~WaveInputDeviceNode()

engine::WaveInputDeviceNode::~WaveInputDeviceNode ( )
override

Member Function Documentation

◆ getNodeProperties()

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

◆ prepareToPlay()

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

◆ isReadyToProcess()

bool engine::WaveInputDeviceNode::isReadyToProcess ( )
override

◆ process()

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

◆ acceptInputBuffer()

void engine::WaveInputDeviceNode::acceptInputBuffer ( choc::buffer::ChannelArrayView< float >  )
overridevirtual

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

Reimplemented from engine::InputDeviceInstance::Consumer.


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