11namespace tracktion {
inline namespace engine
26 void flushStateToValueTree();
62 void setOutputToDefaultDevice (
bool isMidi);
75 bool canPlayAudio()
const;
92 void valueTreeChildOrderChanged (
juce::ValueTree&,
int,
int)
override {}
Base class for audio or midi output devices, to which a track's output can be sent.
Represents the destination output device(s) for a track.
bool outputsToDevice(const juce::String &deviceName, bool compareDefaultDevices) const
if compareDefaultDevices is true, then this returns true if the device name is 'default ....
void updateOutput()
called as a sanity-check after edit has created all the tracks
AudioTrack * getDestinationTrack() const
if the track's being routed into another one, this returns it
OutputDevice * getOutputDevice(bool traceThroughDestTracks) const
finds the output device.
juce::String getOutputName() const
description of where it's going.
juce::String getDescriptiveOutputName() const
includes the dest track's name, if relevant
bool outputsToDestTrack(AudioTrack &) const
True if this track's direct destination is the one given.
bool injectLiveMidiMessage(const juce::MidiMessage &)
false if not possible
bool feedsInto(const Track *possibleDestTrack) const
true if any downstream tracks match this one
bool canPlayMidi() const
(also true for virtual devices with midi synths)
Base class for tracks which contain clips and plugins and can be added to Edit[s].
ID for objects of type EditElement - e.g.