TracktionEngine
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
tracktion_InputDevice.h File Reference

Classes

class  tracktion::engine::InputDevice
 Represents an input device. More...
 
class  tracktion::engine::InputDeviceInstance
 An instance of an InputDevice that's available to an Edit. More...
 
struct  tracktion::engine::InputDeviceInstance::RecordingParameters
 
class  tracktion::engine::InputDeviceInstance::RecordingContext
 Base class for RecordingContexts. More...
 
struct  tracktion::engine::InputDeviceInstance::StopRecordingParameters
 The params passed to stopRecording. More...
 
struct  tracktion::engine::InputDeviceInstance::Destination
 
struct  tracktion::engine::InputDeviceInstance::WaveInputDestination
 
struct  tracktion::engine::InputDeviceInstance::MidiInputDestination
 
struct  tracktion::engine::InputDeviceInstance::VirtualMidiInputDestination
 
struct  tracktion::engine::InputDeviceInstance::DestinationList
 
struct  tracktion::engine::InputDeviceInstance::Consumer
 Base class for classes that want to listen to an InputDevice and get a callback for each block of input. More...
 

Namespaces

namespace  tracktion
 
namespace  tracktion::engine
 

Functions

juce::Array< std::pair< AudioTrack *, int > > tracktion::engine::getTargetTracksAndIndexes (InputDeviceInstance &)
 Returns the AudioTracks and their indexes this instance is assigned to.
 
juce::Array< AudioTrack * > tracktion::engine::getTargetTracks (InputDeviceInstance &)
 Returns the AudioTracks this instance is assigned to.
 
bool tracktion::engine::isOnTargetTrack (InputDeviceInstance &, const Track &, int idx)
 Returns true if this instance is assigned to the given Track at the given index .
 
bool tracktion::engine::isAttached (InputDeviceInstance &)
 Returns true if this input is assigned to a target.
 
juce::Result tracktion::engine::clearFromTargets (InputDeviceInstance &, juce::UndoManager *)
 Removes this instance from all assigned targets.
 
InputDeviceInstance::Destinationtracktion::engine::getDestination (InputDeviceInstance &, const Track &track, int index)
 Returns the destination if one has been assigned for the given arguments.
 
InputDeviceInstance::Destinationtracktion::engine::getDestination (InputDeviceInstance &, const ClipSlot &)
 Returns the destination if one has been assigned for the given arguments.
 
InputDeviceInstance::Destinationtracktion::engine::getDestination (InputDeviceInstance &, const juce::ValueTree &destinationState)
 Returns the destination if one has been assigned for the given arguments.
 
bool tracktion::engine::hasErrors (const InputDeviceInstance::PreparedContext &pc)
 Returns true if all the targets were fully prepared.
 
InputDeviceInstance::PreparedContexttracktion::engine::append (InputDeviceInstance::PreparedContext &dest, InputDeviceInstance::PreparedContext &&src)
 Appends a PreparedContent to another.
 
std::pair< std::vector< std::unique_ptr< InputDeviceInstance::RecordingContext > >, juce::StringArray > tracktion::engine::extract (InputDeviceInstance::PreparedContext &&pc)
 Splits the PreparedContext in to valid RecordingContexts and an array of error messages.