tracktion-engine 3.0-10-g034fdde4aa5
Tracktion Engine — High level data model for audio applications

« « « Anklang Documentation
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
tracktion_InputDevice.h File Reference

Go to the source code of this file.

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
 Declarations from this namespaces are inlined into tracktion.
 

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::StringArraytracktion::engine::extract (InputDeviceInstance::PreparedContext &&pc)
 Splits the PreparedContext in to valid RecordingContexts and an array of error messages.
 

Class Documentation

◆ tracktion::engine::InputDeviceInstance::RecordingParameters

struct tracktion::engine::InputDeviceInstance::RecordingParameters

Definition at line 161 of file tracktion_InputDevice.h.

Class Members
TimeRange punchRange The transport time range at which the recording should happen.
vector< EditItemID > targets The targets to record to, if this is empty, all armed targets will be added.

◆ tracktion::engine::InputDeviceInstance::StopRecordingParameters

struct tracktion::engine::InputDeviceInstance::StopRecordingParameters

The params passed to stopRecording.

Definition at line 208 of file tracktion_InputDevice.h.

Class Members
bool discardRecordings Whether to discard recordings or keep them.
bool isLooping Whether to treat the stopped recordings as looped or not.
TimeRange markedRange The marked range used for either loop or punch times.
vector< EditItemID > targetsToStop The targets to stop, others will continue allowing you to punch out only specific targets.

If this is empty, all active recordings will be stopped.

TimePosition unloopedTimeToEndRecording The TimePosition this recording should be stopped at.
See also
EditPlaybackContext::getUnloopedPosition.