Ardour
9.0-pre0-582-g084a23a80d
|
#include <vst_plugin.h>
Public Member Functions | |
VSTPlugin (AudioEngine &, Session &, VSTHandle *) | |
VSTPlugin (const VSTPlugin &other) | |
virtual | ~VSTPlugin () |
void | activate () |
void | deactivate () |
int | set_block_size (pframes_t) |
bool | requires_fixed_sized_buffers () const |
bool | inplace_broken () const |
float | default_value (uint32_t port) |
float | get_parameter (uint32_t port) const |
uint32_t | nth_parameter (uint32_t port, bool &ok) const |
void | set_parameter (uint32_t port, float val, sampleoffset_t) |
void | set_parameter_automated (uint32_t port, float val) |
bool | load_preset (PresetRecord) |
int | get_parameter_descriptor (uint32_t which, ParameterDescriptor &) const |
std::string | describe_parameter (Evoral::Parameter) |
std::set< Evoral::Parameter > | automatable () 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 () |
int | connect_and_run (BufferSet &, samplepos_t start, samplepos_t end, double speed, ChanMapping const &in, ChanMapping const &out, pframes_t nframes, samplecnt_t offset) |
std::string | unique_id () const |
const char * | label () const |
const char * | name () const |
const char * | maker () const |
int32_t | version () const |
uint32_t | parameter_count () const |
bool | print_parameter (uint32_t, std::string &) const |
bool | has_editor () const |
AEffect * | plugin () const |
VSTState * | state () const |
MidiBuffer * | midi_buffer () const |
int | set_state (XMLNode const &, int) |
int | first_user_preset_index () const |
VstTimeInfo * | timeinfo () |
samplepos_t | transport_sample () const |
float | transport_speed () const |
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::string | state_node_name () const =0 |
virtual IOPortDescription | describe_io_port (DataType dt, bool input, uint32_t id) const |
virtual PluginOutputConfiguration | possible_output () const |
virtual void | set_automation_control (uint32_t, std::shared_ptr< ARDOUR::AutomationControl >) |
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 | 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 void | set_non_realtime (bool) |
virtual void | add_slave (std::shared_ptr< Plugin >, bool realtime) |
virtual void | remove_slave (std::shared_ptr< Plugin >) |
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 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 |
virtual void | set_owner (SessionObject *o) |
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 () 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()> | LoadPresetProgram |
PBD::Signal< void()> | VSTSizeWindow |
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 |
Protected Member Functions | |
void | parameter_changed_externally (uint32_t which, float val) |
virtual void | open_plugin () |
void | init_plugin () |
gchar * | get_chunk (bool) const |
int | set_chunk (gchar const *, bool) |
void | add_state (XMLNode *) const |
bool | load_user_preset (PresetRecord) |
bool | load_plugin_preset (PresetRecord) |
std::string | do_save_preset (std::string name) |
void | do_remove_preset (std::string name) |
XMLTree * | presets_tree () const |
std::string | presets_file () const |
samplecnt_t | plugin_latency () const |
void | find_presets () |
Protected Member Functions inherited from ARDOUR::Plugin | |
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 | |
VSTHandle * | _handle |
VSTState * | _state |
AEffect * | _plugin |
MidiBuffer * | _midi_out_buf |
VstTimeInfo | _timeInfo |
samplepos_t | _transport_sample |
float | _transport_speed |
std::map< uint32_t, float > | _parameter_defaults |
bool | _eff_bypassed |
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 |
Friends | |
class | Session |
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 |
Parent class for VST plugins of both Windows and Linux varieties
Definition at line 42 of file vst_plugin.h.
ARDOUR::VSTPlugin::VSTPlugin | ( | AudioEngine & | , |
Session & | , | ||
VSTHandle * | |||
) |
ARDOUR::VSTPlugin::VSTPlugin | ( | const VSTPlugin & | other | ) |
|
virtual |
|
virtual |
Implements ARDOUR::Plugin.
|
protectedvirtual |
Add state to an existing XMLNode
Implements ARDOUR::Plugin.
|
virtual |
Implements ARDOUR::Plugin.
|
virtual |
Reimplemented from ARDOUR::Plugin.
|
virtual |
Implements ARDOUR::Plugin.
|
virtual |
Implements ARDOUR::Plugin.
|
virtual |
Implements ARDOUR::Plugin.
|
virtual |
Reimplemented from ARDOUR::Plugin.
|
protectedvirtual |
Do the actual removal of a preset of the provided name
Implements ARDOUR::Plugin.
|
protectedvirtual |
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.
|
protectedvirtual |
Fill _presets with our presets
Implements ARDOUR::Plugin.
|
virtual |
Reimplemented from ARDOUR::Plugin.
|
protected |
|
virtual |
Implements ARDOUR::Plugin.
|
virtual |
Implements ARDOUR::Plugin.
|
virtual |
Implements ARDOUR::Plugin.
|
protected |
|
inlinevirtual |
Reimplemented from ARDOUR::Plugin.
Definition at line 55 of file vst_plugin.h.
|
virtual |
Implements ARDOUR::Plugin.
|
protected |
|
virtual |
Set parameters using a preset
Reimplemented from ARDOUR::Plugin.
|
protected |
|
virtual |
Implements ARDOUR::Plugin.
|
inline |
Definition at line 94 of file vst_plugin.h.
|
virtual |
Implements ARDOUR::Plugin.
|
virtual |
Implements ARDOUR::Plugin.
|
protectedvirtual |
Reimplemented in ARDOUR::MacVSTPlugin.
|
protectedvirtual |
Reimplemented from ARDOUR::Plugin.
|
virtual |
Implements ARDOUR::Plugin.
|
inlinevirtual |
Implements ARDOUR::Plugin.
Definition at line 69 of file vst_plugin.h.
|
inlinevirtual |
Implements ARDOUR::Plugin.
Definition at line 70 of file vst_plugin.h.
|
inlinevirtual |
Implements ARDOUR::Plugin.
Definition at line 71 of file vst_plugin.h.
|
inlinevirtual |
Implements ARDOUR::Plugin.
Definition at line 72 of file vst_plugin.h.
|
inline |
Definition at line 92 of file vst_plugin.h.
|
protectedvirtual |
Implements ARDOUR::Plugin.
|
protected |
|
protected |
|
virtual |
Reimplemented from ARDOUR::Plugin.
|
virtual |
Reimplemented from ARDOUR::Plugin.
|
virtual |
Implements ARDOUR::Plugin.
|
protected |
|
virtual |
Reimplemented from ARDOUR::Plugin.
void ARDOUR::VSTPlugin::set_parameter_automated | ( | uint32_t | port, |
float | val | ||
) |
|
virtual |
Reimplemented from ARDOUR::Plugin.
|
inline |
Definition at line 93 of file vst_plugin.h.
|
inline |
Definition at line 100 of file vst_plugin.h.
|
inline |
Definition at line 101 of file vst_plugin.h.
|
inline |
Definition at line 102 of file vst_plugin.h.
|
virtual |
Implements ARDOUR::Plugin.
int32_t ARDOUR::VSTPlugin::version | ( | ) | const |
|
friend |
Definition at line 45 of file vst_plugin.h.
|
protected |
Definition at line 131 of file vst_plugin.h.
|
protected |
Definition at line 121 of file vst_plugin.h.
|
protected |
Definition at line 125 of file vst_plugin.h.
|
mutableprotected |
Definition at line 130 of file vst_plugin.h.
|
protected |
Definition at line 123 of file vst_plugin.h.
|
protected |
Definition at line 122 of file vst_plugin.h.
|
protected |
Definition at line 126 of file vst_plugin.h.
|
protected |
Definition at line 128 of file vst_plugin.h.
|
protected |
Definition at line 129 of file vst_plugin.h.
PBD::Signal<void()> ARDOUR::VSTPlugin::LoadPresetProgram |
Definition at line 66 of file vst_plugin.h.
PBD::Signal<void()> ARDOUR::VSTPlugin::VSTSizeWindow |
Definition at line 67 of file vst_plugin.h.