Ardour  9.0-pre0-582-g084a23a80d
plugin.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2000-2017 Paul Davis <paul@linuxaudiosystems.com>
3  * Copyright (C) 2005-2007 Taybin Rutkin <taybin@taybin.com>
4  * Copyright (C) 2006-2014 David Robillard <d@drobilla.net>
5  * Copyright (C) 2009-2012 Carl Hetherington <carl@carlh.net>
6  * Copyright (C) 2013-2023 Robin Gareus <robin@gareus.org>
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2 of the License, or
11  * (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License along
19  * with this program; if not, write to the Free Software Foundation, Inc.,
20  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21  */
22 
23 #pragma once
24 
25 #include <atomic>
26 #include <memory>
27 #include <set>
28 #include <string>
29 
30 #include "pbd/controllable.h"
32 
33 #include "ardour/buffer_set.h"
34 #include "ardour/chan_count.h"
35 #include "ardour/chan_mapping.h"
36 #include "ardour/cycles.h"
37 #include "ardour/latent.h"
42 #include "ardour/tailtime.h"
43 #include "ardour/types.h"
44 #include "ardour/variant.h"
45 
46 #include <map>
47 #include <set>
48 #include <vector>
49 
50 namespace ARDOUR
51 {
52 class AudioEngine;
53 class Session;
54 class BufferSet;
55 class IOPlug;
56 class PlugInsertBase;
57 class PluginInsert;
58 class Plugin;
59 class PluginInfo;
60 class RegionFxPlugin;
61 class AutomationControl;
62 class SessionObject;
63 
64 typedef std::shared_ptr<Plugin> PluginPtr;
65 typedef std::shared_ptr<PluginInfo> PluginInfoPtr;
66 typedef std::list<PluginInfoPtr> PluginInfoList;
67 typedef std::set<uint32_t> PluginOutputConfiguration;
68 
78 {
79 public:
81  Plugin (const Plugin&);
82  virtual ~Plugin ();
83 
84  XMLNode& get_state () const;
85  virtual int set_state (const XMLNode&, int version);
86 
87  virtual void set_insert_id (PBD::ID id) {}
88  virtual void set_state_dir (const std::string& d = "") {}
89 
90  void set_insert (PlugInsertBase* pib, uint32_t num) {
91  _pib = pib;
92  _num = num;
93  }
94 
95  PlugInsertBase* plugin_insert () const { return _pib; }
96  uint32_t plugin_number () const { return _num; }
97 
98  virtual std::string unique_id () const = 0;
99  virtual const char* label () const = 0;
100  virtual const char* name () const = 0;
101  virtual const char* maker () const = 0;
102  virtual uint32_t parameter_count () const = 0;
103  virtual float default_value (uint32_t port) = 0;
104  virtual float get_parameter (uint32_t which) const = 0;
105 
106  virtual std::string get_docs () const { return ""; }
107  virtual std::string get_parameter_docs (uint32_t /*which*/) const { return ""; }
108 
109  virtual int get_parameter_descriptor (uint32_t which, ParameterDescriptor&) const = 0;
110  virtual uint32_t nth_parameter (uint32_t which, bool& ok) const = 0;
111  virtual std::string parameter_label (uint32_t which) const;
112 
113  virtual void activate () = 0;
114  virtual void deactivate () = 0;
115  virtual void flush ()
116  {
117  deactivate ();
118  activate ();
119  }
120 
121  virtual std::set<Evoral::Parameter> automatable () const = 0;
122  virtual std::string describe_parameter (Evoral::Parameter) = 0;
123  virtual std::string state_node_name () const = 0;
124 
125  virtual bool print_parameter (uint32_t, std::string&) const { return false; }
126 
127  virtual bool parameter_is_audio (uint32_t) const = 0;
128  virtual bool parameter_is_control (uint32_t) const = 0;
129  virtual bool parameter_is_input (uint32_t) const = 0;
130  virtual bool parameter_is_output (uint32_t) const = 0;
131 
132  virtual uint32_t designated_bypass_port () { return UINT32_MAX; }
133 
135  public:
136  IOPortDescription (const std::string& n, bool sc = false, std::string gn = "", uint32_t gc = 0, uint32_t bn = 0)
137  : name (n)
138  , is_sidechain (sc)
139  , group_name (gn.empty () ? n : gn)
140  , group_channel (gc)
141  , bus_number (bn)
142  { }
143 
145  : name (other.name)
146  , is_sidechain (other.is_sidechain)
147  , group_name (other.group_name)
148  , group_channel (other.group_channel)
149  , bus_number (other.bus_number)
150  { }
151 
152  std::string name;
154 
155  std::string group_name;
156  uint32_t group_channel;
157  uint32_t bus_number;
158  };
159 
160  virtual IOPortDescription describe_io_port (DataType dt, bool input, uint32_t id) const;
162 
163  virtual void set_automation_control (uint32_t /*port_index*/, std::shared_ptr<ARDOUR::AutomationControl>) {}
164 
165  virtual std::shared_ptr<ScalePoints> get_scale_points (uint32_t /*port_index*/) const
166  {
167  return std::shared_ptr<ScalePoints> ();
168  }
169 
171  {
172  return plugin_latency ();
173  }
174 
176  {
177  return plugin_tailtime ();
178  }
179 
181  virtual samplecnt_t max_latency () const { return 0; }
182 
183  virtual int set_block_size (pframes_t nframes) = 0;
184  virtual bool requires_fixed_sized_buffers () const { return false; }
185  virtual bool inplace_broken () const { return false; }
186  virtual bool connect_all_audio_outputs () const { return false; }
187 
188  virtual int connect_and_run (BufferSet& bufs,
189  samplepos_t start, samplepos_t end, double speed,
190  ChanMapping const& in, ChanMapping const& out,
191  pframes_t nframes, samplecnt_t offset);
192 
193 
194  bool write_immediate_event (Evoral::EventType event_type, size_t size, const uint8_t* buf);
195 
197  void realtime_locate (bool);
199 
200  /* use plugin for offline processing */
201  virtual void set_non_realtime (bool) {}
202 
203  virtual void add_slave (std::shared_ptr<Plugin>, bool realtime) {}
204  virtual void remove_slave (std::shared_ptr<Plugin>) {}
205 
206  typedef struct {
207  unsigned char* data;
208  int width;
209  int height;
210  int stride;
212 
213  virtual bool has_inline_display () { return false; }
214  virtual bool inline_display_in_gui () { return false; }
215  virtual Display_Image_Surface* render_inline_display (uint32_t, uint32_t) { return NULL; }
217 
218  virtual bool has_midnam () { return false; }
219  virtual bool read_midnam () { return false; }
220  virtual std::string midnam_model () { return ""; }
223 
224  virtual bool knows_bank_patch () { return false; }
225  virtual uint32_t bank_patch (uint8_t chn) { return UINT32_MAX; }
226  PBD::Signal<void(uint8_t)> BankPatchChange;
227 
228  struct PresetRecord {
229  PresetRecord () : valid (false) { }
230 
231  PresetRecord (const std::string& u, const std::string& l, bool s = true, const std::string& d = "")
232  : uri (u)
233  , label (l)
234  , description (d)
235  , user (s)
236  , valid (true)
237  { }
238 
239  bool operator!= (PresetRecord const& a) const
240  {
241  return uri != a.uri || label != a.label;
242  }
243 
244  bool operator< (PresetRecord const& a) const
245  {
246  if (label == a.label) {
247  return uri < a.uri;
248  }
249  return label < a.label;
250  }
251 
252  std::string uri;
253  std::string label;
254  std::string description;
255  bool user;
256  bool valid;
257  };
258 
265  void remove_preset (std::string);
266 
268  virtual bool load_preset (PresetRecord);
269  void clear_preset ();
270 
271  const PresetRecord* preset_by_label (const std::string&);
272  const PresetRecord* preset_by_uri (const std::string&);
273 
274  virtual std::vector<PresetRecord> get_presets ();
275 
280  {
281  return _last_preset;
282  }
283 
285  {
286  return _parameter_changed_since_last_preset;
287  }
288 
289  virtual int first_user_preset_index () const { return 0; }
290 
294 
296  static PBD::Signal<void(std::string, Plugin*, bool)> PresetsChanged;
297 
300 
305 
307  PBD::Signal<void(uint32_t, float)> PresetPortSetValue;
308 
310  virtual bool has_editor () const = 0;
311 
315  PBD::Signal<void(uint32_t, float)> ParameterChangedExternally;
316 
317  virtual bool reconfigure_io (ChanCount /*in*/, ChanCount /*aux_in*/, ChanCount /*out*/) { return true; }
318  virtual bool match_variable_io (ChanCount& /*in*/, ChanCount& /*aux_in*/, ChanCount& /*out*/) { return false; }
319 
320  virtual ChanCount output_streams () const;
321  virtual ChanCount input_streams () const;
322 
323  virtual void set_info (const PluginInfoPtr info) { _info = info; }
324  PluginInfoPtr get_info () const { return _info; }
325 
326  virtual void set_owner (SessionObject* o) { _owner = o; }
327  SessionObject* owner () const { return _owner; }
328 
329  void set_cycles (uint32_t c) { _cycles = c; }
330  cycles_t cycles () const { return _cycles; }
331 
333  {
334  _for_impulse_analysis = true;
335  }
336 
337  ARDOUR::AudioEngine& engine () const { return _engine; }
338  ARDOUR::Session& session () const { return _session; }
339 
340  typedef std::map<uint32_t, ParameterDescriptor> PropertyDescriptors;
341 
351  {
352  static const PropertyDescriptors nothing;
353  return nothing;
354  }
355 
356  virtual const ParameterDescriptor& get_property_descriptor (uint32_t id) const
357  {
358  static const ParameterDescriptor nothing;
359  return nothing;
360  }
361 
369  virtual void set_property (uint32_t key, const Variant& value) {}
370 
371  virtual Variant get_property_value (uint32_t) const
372  {
373  return Variant();
374  }
375 
377  virtual void announce_property_values () {}
378 
381 
382  PBD::Signal<void(uint32_t)> StartTouch;
383  PBD::Signal<void(uint32_t)> EndTouch;
384 
385 protected:
386  friend class PluginInsert;
387  friend class PlugInsertBase;
388  friend class RegionFxPlugin;
389  friend class Session;
390 
391  /* Called when a parameter of the plugin is changed outside of this
392  * host's control (typical via a plugin's own GUI/editor)
393  */
394  virtual void parameter_changed_externally (uint32_t which, float val);
395 
396  /* should be overridden by plugin API specific derived types to
397  * actually implement changing the parameter. The derived type should
398  * call this after the change is made.
399  *
400  * @param which parameter-id
401  * @param val the raw value (plugin internal)
402  * @param when time offset of samples in current cycle (0 .. n_samples)
403  * when the event is effective.
404  */
405  virtual void set_parameter (uint32_t which, float val, sampleoffset_t when);
406 
410  virtual std::string do_save_preset (std::string) = 0;
412  virtual void do_remove_preset (std::string) = 0;
413 
414 
418  void state_changed ();
419 
423  uint32_t _cycles;
426 
427  std::map<std::string, PresetRecord> _presets;
428 
429 private:
430  virtual samplecnt_t plugin_latency () const = 0;
434  virtual samplecnt_t plugin_tailtime () const;
435 
436 
438  virtual void find_presets () = 0;
439 
441  virtual void add_state (XMLNode*) const = 0;
442 
449 
451  std::atomic<bool> _resolve_midi;
452 
453  void invalidate_preset_cache (std::string const&, Plugin*, bool);
454  void resolve_midi ();
455 
457  uint32_t _num;
458 
460 };
461 
462 struct PluginPreset {
465 
466  PluginPreset (PluginInfoPtr pip, const Plugin::PresetRecord* preset = NULL)
467  : _pip (pip)
468  {
469  if (preset) {
470  _preset.uri = preset->uri;
471  _preset.label = preset->label;
472  _preset.user = preset->user;
473  _preset.description = preset->description;
474  _preset.valid = preset->valid;
475  }
476  }
477 };
478 
479 typedef std::shared_ptr<PluginPreset> PluginPresetPtr;
480 typedef std::list<PluginPresetPtr> PluginPresetList;
481 
482 PluginPtr
483 find_plugin (ARDOUR::Session&, std::string unique_id, ARDOUR::PluginType);
484 
486 {
487 public:
489  : multichannel_name_ambiguity (false)
490  , plugintype_name_ambiguity (false)
491  , internal (false)
492  , index (0)
493  {}
494 
495  virtual ~PluginInfo () {}
496 
497  std::string name;
498  std::string category;
499  std::string creator;
500  std::string path;
504 
507 
508  std::string unique_id;
509 
510  virtual PluginPtr load (Session& session) = 0;
511 
512  /* NOTE: it is possible for a plugin to be an effect AND an instrument.
513  * override these funcs as necessary to support that. */
514  virtual bool is_effect () const;
515  virtual bool is_instrument () const;
516  virtual bool is_utility () const; // this includes things like "generators" and "midi filters"
517  virtual bool is_analyzer () const;
518 
519  virtual bool needs_midi_input () const;
520 
521  virtual std::vector<Plugin::PresetRecord> get_presets (bool user_only) const = 0;
522 
523  /* NOTE: this block of virtual methods looks like the interface
524  * to a Processor, but Plugin does not inherit from Processor.
525  * It is therefore not required that these precisely match
526  * the interface, but it is likely that they will evolve together. */
527 
528  /* @return true if the plugin can change its inputs or outputs on demand. */
529  virtual bool reconfigurable_io () const { return false; }
530 
531  /* max [re]configurable outputs (if finite, 0 otherwise) */
532  virtual uint32_t max_configurable_outputs () const
533  {
534  return n_outputs.n_audio();
535  }
536 
537  /* hide from user */
538  virtual bool is_internal () const { return internal; }
539 
540 protected:
541  friend class PluginManager;
542  bool internal;
543  uint32_t index; //< used for LADSPA, index in module
544 };
545 
546 } // namespace ARDOUR
547 
uint32_t n_audio() const
Definition: chan_count.h:76
std::string unique_id
Definition: plugin.h:508
virtual bool is_utility() const
virtual std::vector< Plugin::PresetRecord > get_presets(bool user_only) const =0
virtual bool is_internal() const
Definition: plugin.h:538
virtual bool is_effect() const
std::string creator
Definition: plugin.h:499
ChanCount n_outputs
Definition: plugin.h:502
virtual bool needs_midi_input() const
virtual bool is_instrument() const
virtual bool is_analyzer() const
uint32_t index
Definition: plugin.h:543
bool plugintype_name_ambiguity
Definition: plugin.h:506
ChanCount n_inputs
Definition: plugin.h:501
std::string name
Definition: plugin.h:497
std::string path
Definition: plugin.h:500
ARDOUR::PluginType type
Definition: plugin.h:503
virtual bool reconfigurable_io() const
Definition: plugin.h:529
virtual uint32_t max_configurable_outputs() const
Definition: plugin.h:532
bool multichannel_name_ambiguity
Definition: plugin.h:505
virtual ~PluginInfo()
Definition: plugin.h:495
std::string category
Definition: plugin.h:498
virtual PluginPtr load(Session &session)=0
void set_cycles(uint32_t c)
Definition: plugin.h:329
virtual std::string state_node_name() const =0
virtual Display_Image_Surface * render_inline_display(uint32_t, uint32_t)
Definition: plugin.h:215
virtual bool match_variable_io(ChanCount &, ChanCount &, ChanCount &)
Definition: plugin.h:318
uint32_t _num
Definition: plugin.h:457
ARDOUR::Session & session() const
Definition: plugin.h:338
virtual void set_owner(SessionObject *o)
Definition: plugin.h:326
virtual void announce_property_values()
Definition: plugin.h:377
virtual bool connect_all_audio_outputs() const
Definition: plugin.h:186
PBD::Signal< void()> PresetLoaded
Definition: plugin.h:299
virtual void add_slave(std::shared_ptr< Plugin >, bool realtime)
Definition: plugin.h:203
virtual std::string parameter_label(uint32_t which) const
virtual bool has_midnam()
Definition: plugin.h:218
void realtime_handle_transport_stopped()
ARDOUR::AudioEngine & engine() const
Definition: plugin.h:337
virtual void activate()=0
std::atomic< bool > _resolve_midi
Definition: plugin.h:451
virtual void find_presets()=0
void state_changed()
virtual ChanCount input_streams() const
void clear_preset()
virtual samplecnt_t plugin_tailtime() const
PluginInfoPtr _info
Definition: plugin.h:422
bool write_immediate_event(Evoral::EventType event_type, size_t size, const uint8_t *buf)
virtual void add_state(XMLNode *) const =0
virtual bool parameter_is_control(uint32_t) const =0
bool _have_pending_stop_events
Definition: plugin.h:446
virtual int first_user_preset_index() const
Definition: plugin.h:289
virtual void set_info(const PluginInfoPtr info)
Definition: plugin.h:323
PresetRecord last_preset() const
Definition: plugin.h:279
virtual void set_parameter(uint32_t which, float val, sampleoffset_t when)
const PresetRecord * preset_by_uri(const std::string &)
virtual std::set< Evoral::Parameter > automatable() const =0
PlugInsertBase * _pib
Definition: plugin.h:456
PBD::Signal< void()> PresetRemoved
Definition: plugin.h:293
PBD::Signal< void()> UpdateMidnam
Definition: plugin.h:221
PBD::Signal< void()> QueueDraw
Definition: plugin.h:216
virtual float default_value(uint32_t port)=0
bool _parameter_changed_since_last_preset
Definition: plugin.h:448
virtual bool reconfigure_io(ChanCount, ChanCount, ChanCount)
Definition: plugin.h:317
Plugin(ARDOUR::AudioEngine &, ARDOUR::Session &)
virtual bool read_midnam()
Definition: plugin.h:219
void monitoring_changed()
virtual bool has_inline_display()
Definition: plugin.h:213
bool parameter_changed_since_last_preset() const
Definition: plugin.h:284
ARDOUR::Session & _session
Definition: plugin.h:421
virtual void deactivate()=0
virtual std::string get_docs() const
Definition: plugin.h:106
PBD::Signal< void(uint8_t)> BankPatchChange
Definition: plugin.h:226
virtual std::string describe_parameter(Evoral::Parameter)=0
BufferSet _pending_stop_events
Definition: plugin.h:445
virtual bool requires_fixed_sized_buffers() const
Definition: plugin.h:184
MidiNoteTracker _tracker
Definition: plugin.h:444
virtual bool parameter_is_output(uint32_t) const =0
SessionObject * _owner
Definition: plugin.h:424
virtual IOPortDescription describe_io_port(DataType dt, bool input, uint32_t id) const
void realtime_locate(bool)
virtual void remove_slave(std::shared_ptr< Plugin >)
Definition: plugin.h:204
virtual uint32_t designated_bypass_port()
Definition: plugin.h:132
PBD::Signal< void()> UpdatedMidnam
Definition: plugin.h:222
uint32_t plugin_number() const
Definition: plugin.h:96
void set_insert(PlugInsertBase *pib, uint32_t num)
Definition: plugin.h:90
virtual int get_parameter_descriptor(uint32_t which, ParameterDescriptor &) const =0
PBD::Signal< void(uint32_t, Variant)> PropertyChanged
Definition: plugin.h:380
virtual uint32_t bank_patch(uint8_t chn)
Definition: plugin.h:225
SessionObject * owner() const
Definition: plugin.h:327
virtual bool has_editor() const =0
PlugInsertBase * plugin_insert() const
Definition: plugin.h:95
samplecnt_t signal_latency() const
Definition: plugin.h:170
PBD::ScopedConnection _preset_connection
Definition: plugin.h:459
virtual bool parameter_is_input(uint32_t) const =0
PBD::Signal< void(uint32_t)> EndTouch
Definition: plugin.h:383
virtual void parameter_changed_externally(uint32_t which, float val)
virtual std::vector< PresetRecord > get_presets()
virtual bool knows_bank_patch()
Definition: plugin.h:224
virtual bool parameter_is_audio(uint32_t) const =0
bool _have_presets
Definition: plugin.h:443
void use_for_impulse_analysis()
Definition: plugin.h:332
virtual void set_property(uint32_t key, const Variant &value)
Definition: plugin.h:369
virtual void flush()
Definition: plugin.h:115
MidiRingBuffer< samplepos_t > _immediate_events
Definition: plugin.h:450
virtual uint32_t parameter_count() const =0
virtual uint32_t nth_parameter(uint32_t which, bool &ok) const =0
virtual void set_non_realtime(bool)
Definition: plugin.h:201
virtual bool load_preset(PresetRecord)
uint32_t _cycles
Definition: plugin.h:423
virtual PluginOutputConfiguration possible_output() const
virtual bool inplace_broken() const
Definition: plugin.h:185
virtual int connect_and_run(BufferSet &bufs, samplepos_t start, samplepos_t end, double speed, ChanMapping const &in, ChanMapping const &out, pframes_t nframes, samplecnt_t offset)
bool _for_impulse_analysis
Definition: plugin.h:425
virtual void set_automation_control(uint32_t, std::shared_ptr< ARDOUR::AutomationControl >)
Definition: plugin.h:163
std::map< std::string, PresetRecord > _presets
Definition: plugin.h:427
static PBD::Signal< void(std::string, Plugin *, bool)> PresetsChanged
Definition: plugin.h:296
virtual const char * name() const =0
const PresetRecord * preset_by_label(const std::string &)
virtual bool print_parameter(uint32_t, std::string &) const
Definition: plugin.h:125
PluginInfoPtr get_info() const
Definition: plugin.h:324
void remove_preset(std::string)
virtual const char * maker() const =0
void invalidate_preset_cache(std::string const &, Plugin *, bool)
virtual std::shared_ptr< ScalePoints > get_scale_points(uint32_t) const
Definition: plugin.h:165
samplecnt_t signal_tailtime() const
Definition: plugin.h:175
virtual void do_remove_preset(std::string)=0
virtual const ParameterDescriptor & get_property_descriptor(uint32_t id) const
Definition: plugin.h:356
virtual float get_parameter(uint32_t which) const =0
virtual Variant get_property_value(uint32_t) const
Definition: plugin.h:371
virtual ~Plugin()
ARDOUR::AudioEngine & _engine
Definition: plugin.h:420
PresetRecord _last_preset
Definition: plugin.h:447
virtual ChanCount output_streams() const
virtual void set_state_dir(const std::string &d="")
Definition: plugin.h:88
virtual int set_block_size(pframes_t nframes)=0
virtual bool inline_display_in_gui()
Definition: plugin.h:214
virtual const char * label() const =0
PBD::Signal< void(uint32_t, float)> PresetPortSetValue
Definition: plugin.h:307
PresetRecord save_preset(std::string name)
Plugin(const Plugin &)
virtual std::string unique_id() const =0
virtual std::string do_save_preset(std::string)=0
virtual samplecnt_t max_latency() const
Definition: plugin.h:181
PBD::Signal< void()> PresetDirty
Definition: plugin.h:304
virtual void set_insert_id(PBD::ID id)
Definition: plugin.h:87
virtual std::string get_parameter_docs(uint32_t) const
Definition: plugin.h:107
virtual const PropertyDescriptors & get_supported_properties() const
Definition: plugin.h:350
PBD::Signal< void(uint32_t)> StartTouch
Definition: plugin.h:382
cycles_t cycles() const
Definition: plugin.h:330
XMLNode & get_state() const
PBD::Signal< void(uint32_t, float)> ParameterChangedExternally
Definition: plugin.h:315
virtual samplecnt_t plugin_latency() const =0
virtual int set_state(const XMLNode &, int version)
void resolve_midi()
PBD::Signal< void()> PresetAdded
Definition: plugin.h:292
std::map< uint32_t, ParameterDescriptor > PropertyDescriptors
Definition: plugin.h:340
virtual std::string midnam_model()
Definition: plugin.h:220
Definition: id.h:34
Definition: xml++.h:114
long cycles_t
Definition: cycles.h:242
GtkImageIconNameData name
Definition: gtkimage.h:6
#define LIBARDOUR_API
void session(lua_State *L)
PBD::PropertyDescriptor< timepos_t > start
uint32_t pframes_t
std::list< PluginInfoPtr > PluginInfoList
Definition: plugin.h:66
std::shared_ptr< Plugin > PluginPtr
Definition: plugin.h:62
std::shared_ptr< PluginPreset > PluginPresetPtr
Definition: plugin.h:479
Temporal::samplecnt_t samplecnt_t
PluginPtr find_plugin(ARDOUR::Session &, std::string unique_id, ARDOUR::PluginType)
std::list< PluginPresetPtr > PluginPresetList
Definition: plugin.h:480
Temporal::sampleoffset_t sampleoffset_t
Temporal::samplepos_t samplepos_t
std::shared_ptr< PluginInfo > PluginInfoPtr
Definition: plugin.h:65
std::set< uint32_t > PluginOutputConfiguration
Definition: plugin.h:67
DebugBits AudioEngine
Definition: session.h:1349
Transmitter info
PluginInfoPtr _pip
Definition: plugin.h:463
PluginPreset(PluginInfoPtr pip, const Plugin::PresetRecord *preset=NULL)
Definition: plugin.h:466
Plugin::PresetRecord _preset
Definition: plugin.h:464
IOPortDescription(const std::string &n, bool sc=false, std::string gn="", uint32_t gc=0, uint32_t bn=0)
Definition: plugin.h:136
IOPortDescription(const IOPortDescription &other)
Definition: plugin.h:144
PresetRecord(const std::string &u, const std::string &l, bool s=true, const std::string &d="")
Definition: plugin.h:231
link region and track false waveform clip max inline grid follows internal