|
Ardour
9.0-pre0-1950-g391fe97693
|
#include <vst3_plugin.h>
Classes | |
| struct | PV |
Public Member Functions | |
| VST3Plugin (AudioEngine &, Session &, Steinberg::VST3PI *) | |
| VST3Plugin (const VST3Plugin &) | |
| ~VST3Plugin () | |
| std::string | unique_id () const |
| const char * | name () const |
| const char * | label () const |
| const char * | maker () const |
| uint32_t | parameter_count () const |
| float | default_value (uint32_t port) |
| void | set_parameter (uint32_t port, float val, sampleoffset_t when) |
| float | get_parameter (uint32_t port) const |
| int | get_parameter_descriptor (uint32_t which, ParameterDescriptor &) const |
| uint32_t | nth_parameter (uint32_t port, bool &ok) const |
| bool | print_parameter (uint32_t, std::string &) const |
| bool | parameter_is_audio (uint32_t) const |
| bool | parameter_is_control (uint32_t) const |
| bool | parameter_is_input (uint32_t) const |
| bool | parameter_is_output (uint32_t) const |
| uint32_t | designated_bypass_port () |
| std::set< Evoral::Parameter > | automatable () const |
| std::string | describe_parameter (Evoral::Parameter) |
| IOPortDescription | describe_io_port (DataType dt, bool input, uint32_t id) const |
| PluginOutputConfiguration | possible_output () const |
| void | set_automation_control (uint32_t, std::shared_ptr< ARDOUR::AutomationControl >) |
| std::string | state_node_name () const |
| void | add_state (XMLNode *) const |
| int | set_state (const XMLNode &, int version) |
| bool | load_preset (PresetRecord) |
| std::string | do_save_preset (std::string) |
| void | do_remove_preset (std::string) |
| void | activate () |
| void | deactivate () |
| int | set_block_size (pframes_t) |
| void | set_owner (ARDOUR::SessionObject *o) |
| void | set_non_realtime (bool) |
| void | add_slave (std::shared_ptr< Plugin >, bool) |
| void | remove_slave (std::shared_ptr< Plugin >) |
| 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 | has_editor () const |
| Steinberg::IPlugView * | view () |
| void | close_view () |
| void | update_contoller_param () |
Public Member Functions inherited from ARDOUR::Plugin | |
| Plugin (ARDOUR::AudioEngine &, ARDOUR::Session &) | |
| Plugin (const Plugin &) | |
| virtual | ~Plugin () |
| XMLNode & | get_state () const |
| virtual void | set_insert_id (PBD::ID id) |
| virtual void | set_state_dir (const std::string &d="") |
| void | set_insert (PlugInsertBase *pib, uint32_t num) |
| PlugInsertBase * | plugin_insert () const |
| uint32_t | plugin_number () const |
| virtual std::string | get_docs () const |
| virtual std::string | get_parameter_docs (uint32_t) const |
| virtual std::string | parameter_label (uint32_t which) const |
| virtual void | flush () |
| virtual std::shared_ptr< ScalePoints > | get_scale_points (uint32_t) const |
| samplecnt_t | signal_latency () const |
| samplecnt_t | signal_tailtime () const |
| virtual samplecnt_t | max_latency () const |
| virtual bool | requires_fixed_sized_buffers () const |
| virtual bool | inplace_broken () const |
| virtual bool | connect_all_audio_outputs () const |
| bool | write_immediate_event (Evoral::EventType event_type, size_t size, const uint8_t *buf) |
| void | realtime_handle_transport_stopped () |
| void | realtime_locate (bool) |
| void | monitoring_changed () |
| virtual bool | has_inline_display () |
| virtual bool | inline_display_in_gui () |
| virtual Display_Image_Surface * | render_inline_display (uint32_t, uint32_t) |
| virtual bool | has_midnam () |
| virtual bool | read_midnam () |
| virtual std::string | midnam_model () |
| virtual bool | knows_bank_patch () |
| virtual uint32_t | bank_patch (uint8_t chn) |
| PresetRecord | save_preset (std::string name) |
| void | remove_preset (std::string) |
| void | clear_preset () |
| const PresetRecord * | preset_by_label (const std::string &) |
| const PresetRecord * | preset_by_uri (const std::string &) |
| virtual std::vector< PresetRecord > | get_presets () |
| PresetRecord | last_preset () const |
| bool | parameter_changed_since_last_preset () const |
| virtual int | first_user_preset_index () const |
| virtual bool | reconfigure_io (ChanCount, ChanCount, ChanCount) |
| virtual bool | match_variable_io (ChanCount &, ChanCount &, ChanCount &) |
| virtual ChanCount | output_streams () const |
| virtual ChanCount | input_streams () const |
| virtual void | set_info (const PluginInfoPtr info) |
| PluginInfoPtr | get_info () const |
| SessionObject * | owner () const |
| void | set_cycles (uint32_t c) |
| cycles_t | cycles () const |
| void | use_for_impulse_analysis () |
| ARDOUR::AudioEngine & | engine () const |
| ARDOUR::Session & | session () const |
| virtual const PropertyDescriptors & | get_supported_properties (bool readonly=false) const |
| virtual const ParameterDescriptor & | get_property_descriptor (uint32_t id) const |
| virtual void | set_property (uint32_t key, const Variant &value) |
| virtual Variant | get_property_value (uint32_t) const |
| virtual void | announce_property_values () |
Public Member Functions inherited from PBD::Stateful | |
| Stateful () | |
| virtual | ~Stateful () |
| virtual bool | apply_change (PropertyBase const &) |
| PropertyChange | apply_changes (PropertyList const &) |
| const OwnedPropertyList & | properties () const |
| void | add_property (PropertyBase &s) |
| void | add_extra_xml (XMLNode &) |
| XMLNode * | extra_xml (const std::string &str, bool add_if_missing=false) |
| void | save_extra_xml (const XMLNode &) |
| const PBD::ID & | id () const |
| bool | set_id (const XMLNode &) |
| void | set_id (const std::string &) |
| void | reset_id () |
| void | clear_changes () |
| virtual void | clear_owned_changes () |
| PropertyList * | get_changes_as_properties (PBD::Command *) const |
| virtual void | rdiff (std::vector< PBD::Command * > &) const |
| bool | changed () const |
| virtual PropertyList * | property_factory (const XMLNode &) const |
| virtual void | suspend_property_changes () |
| virtual void | resume_property_changes () |
| bool | property_changes_suspended () const |
Public Member Functions inherited from PBD::Destructible | |
| virtual | ~Destructible () |
| virtual void | drop_references () |
Public Member Functions inherited from ARDOUR::HasLatency | |
| virtual | ~HasLatency () |
Public Member Functions inherited from ARDOUR::HasTailTime | |
| virtual | ~HasTailTime () |
Public Attributes | |
| PBD::Signal< void(int, int)> | OnResizeView |
Public Attributes inherited from ARDOUR::Plugin | |
| PBD::Signal< void()> | QueueDraw |
| PBD::Signal< void()> | UpdateMidnam |
| PBD::Signal< void()> | UpdatedMidnam |
| PBD::Signal< void(uint8_t)> | BankPatchChange |
| PBD::Signal< void()> | PresetAdded |
| PBD::Signal< void()> | PresetRemoved |
| PBD::Signal< void()> | PresetLoaded |
| PBD::Signal< void()> | PresetDirty |
| PBD::Signal< void(uint32_t, float)> | PresetPortSetValue |
| PBD::Signal< void(uint32_t, float)> | ParameterChangedExternally |
| PBD::Signal< void(uint32_t, Variant)> | PropertyChanged |
| PBD::Signal< void(uint32_t)> | StartTouch |
| PBD::Signal< void(uint32_t)> | EndTouch |
Public Attributes inherited from PBD::Stateful | |
| PBD::Signal< void(const PropertyChange &)> | PropertyChanged |
Public Attributes inherited from PBD::Destructible | |
| PBD::Signal< void()> | Destroyed |
| PBD::Signal< void()> | DropReferences |
Private Member Functions | |
| samplecnt_t | plugin_latency () const |
| samplecnt_t | plugin_tailtime () const |
| void | init () |
| void | find_presets () |
| void | forward_resize_view (int w, int h) |
| void | parameter_change_handler (Steinberg::VST3PI::ParameterChange, uint32_t, float) |
Private Attributes | |
| Steinberg::VST3PI * | _plug |
| PBD::ScopedConnectionList | _connections |
| std::map< std::string, std::string > | _preset_uri_map |
| std::vector< bool > | _connected_inputs |
| std::vector< bool > | _connected_outputs |
| PBD::RingBufferNPT< PV > | _parameter_queue |
Additional Inherited Members | |
Public Types inherited from ARDOUR::Plugin | |
| typedef std::map< uint32_t, ParameterDescriptor > | PropertyDescriptors |
Static Public Attributes inherited from ARDOUR::Plugin | |
| static PBD::Signal< void(std::string, Plugin *, bool)> | PresetsChanged |
Static Public Attributes inherited from PBD::Stateful | |
| static int | current_state_version |
| static int | loading_state_version |
Protected Member Functions inherited from ARDOUR::Plugin | |
| virtual void | parameter_changed_externally (uint32_t which, float val) |
| void | state_changed () |
Protected Member Functions inherited from PBD::Stateful | |
| void | add_instant_xml (XMLNode &, const std::string &directory_path) |
| XMLNode * | instant_xml (const std::string &str, const std::string &directory_path) |
| void | add_properties (XMLNode &) const |
| PropertyChange | set_values (XMLNode const &) |
| virtual void | post_set (const PropertyChange &) |
| virtual void | send_change (const PropertyChange &) |
| virtual void | mid_thaw (const PropertyChange &) |
| bool | regenerate_xml_or_string_ids () const |
Protected Attributes inherited from ARDOUR::Plugin | |
| ARDOUR::AudioEngine & | _engine |
| ARDOUR::Session & | _session |
| PluginInfoPtr | _info |
| uint32_t | _cycles |
| SessionObject * | _owner |
| bool | _for_impulse_analysis |
| std::map< std::string, PresetRecord > | _presets |
Protected Attributes inherited from PBD::Stateful | |
| XMLNode * | _extra_xml |
| XMLNode * | _instant_xml |
| PBD::PropertyChange | _pending_changed |
| Glib::Threads::Mutex | _lock |
| std::string | _xml_node_name |
| name of node to use for this object in XML More... | |
| OwnedPropertyList * | _properties |
Definition at line 372 of file vst3_plugin.h.
| ARDOUR::VST3Plugin::VST3Plugin | ( | AudioEngine & | , |
| Session & | , | ||
| Steinberg::VST3PI * | |||
| ) |
| ARDOUR::VST3Plugin::VST3Plugin | ( | const VST3Plugin & | ) |
| ARDOUR::VST3Plugin::~VST3Plugin | ( | ) |
|
inlinevirtual |
Implements ARDOUR::Plugin.
Definition at line 419 of file vst3_plugin.h.
|
virtual |
Reimplemented from ARDOUR::Plugin.
|
virtual |
Add state to an existing XMLNode
Implements ARDOUR::Plugin.
|
virtual |
Implements ARDOUR::Plugin.
| void ARDOUR::VST3Plugin::close_view | ( | ) |
|
virtual |
Reimplemented from ARDOUR::Plugin.
|
inlinevirtual |
Implements ARDOUR::Plugin.
Definition at line 424 of file vst3_plugin.h.
|
virtual |
Implements ARDOUR::Plugin.
|
virtual |
Reimplemented from ARDOUR::Plugin.
|
virtual |
Implements ARDOUR::Plugin.
|
virtual |
Reimplemented from ARDOUR::Plugin.
|
virtual |
Do the actual removal of a preset of the provided name
Implements ARDOUR::Plugin.
|
virtual |
Do the actual saving of the current plugin settings to a preset of the provided name. Should return a URI on success, or an empty string on failure.
Implements ARDOUR::Plugin.
|
privatevirtual |
Fill _presets with our presets
Implements ARDOUR::Plugin.
|
private |
|
virtual |
Implements ARDOUR::Plugin.
|
virtual |
Implements ARDOUR::Plugin.
|
virtual |
Implements ARDOUR::Plugin.
|
private |
|
inlinevirtual |
Implements ARDOUR::Plugin.
Definition at line 381 of file vst3_plugin.h.
|
virtual |
Set parameters using a preset
Reimplemented from ARDOUR::Plugin.
|
inlinevirtual |
Implements ARDOUR::Plugin.
Definition at line 382 of file vst3_plugin.h.
|
inlinevirtual |
Implements ARDOUR::Plugin.
Definition at line 380 of file vst3_plugin.h.
|
virtual |
Implements ARDOUR::Plugin.
|
private |
|
virtual |
Implements ARDOUR::Plugin.
|
inlinevirtual |
Implements ARDOUR::Plugin.
Definition at line 392 of file vst3_plugin.h.
|
inlinevirtual |
Implements ARDOUR::Plugin.
Definition at line 393 of file vst3_plugin.h.
|
virtual |
Implements ARDOUR::Plugin.
|
virtual |
Implements ARDOUR::Plugin.
|
privatevirtual |
Implements ARDOUR::Plugin.
|
privatevirtual |
tail duration in samples. e.g. for reverb or delay plugins.
The default when unknown is 2 sec
Reimplemented from ARDOUR::Plugin.
|
virtual |
Reimplemented from ARDOUR::Plugin.
|
virtual |
Reimplemented from ARDOUR::Plugin.
|
virtual |
Reimplemented from ARDOUR::Plugin.
|
virtual |
Reimplemented from ARDOUR::Plugin.
|
virtual |
Implements ARDOUR::Plugin.
|
virtual |
Reimplemented from ARDOUR::Plugin.
|
virtual |
Reimplemented from ARDOUR::Plugin.
|
virtual |
Reimplemented from ARDOUR::Plugin.
|
virtual |
Reimplemented from ARDOUR::Plugin.
|
inlinevirtual |
Implements ARDOUR::Plugin.
Definition at line 407 of file vst3_plugin.h.
|
inlinevirtual |
Implements ARDOUR::Plugin.
Definition at line 379 of file vst3_plugin.h.
| void ARDOUR::VST3Plugin::update_contoller_param | ( | ) |
| Steinberg::IPlugView* ARDOUR::VST3Plugin::view | ( | ) |
|
private |
Definition at line 463 of file vst3_plugin.h.
|
private |
Definition at line 464 of file vst3_plugin.h.
|
private |
Definition at line 459 of file vst3_plugin.h.
|
private |
Definition at line 473 of file vst3_plugin.h.
|
private |
Definition at line 457 of file vst3_plugin.h.
|
private |
Definition at line 461 of file vst3_plugin.h.
| PBD::Signal<void(int, int)> ARDOUR::VST3Plugin::OnResizeView |
Definition at line 447 of file vst3_plugin.h.