Ardour
9.0-pre0-582-g084a23a80d
|
#include <vst3_plugin.h>
Classes | |
struct | AudioBusInfo |
struct | Param |
class | RouteProcessorChangeBlock |
Public Types | |
enum | ParameterChange { BeginGesture , EndGesture , ValueChange , InternalChange , PresetChange , ParamValueChanged } |
Public Member Functions | |
VST3PI (std::shared_ptr< ARDOUR::VST3PluginModule > m, std::string unique_id) | |
virtual | ~VST3PI () |
tresult PLUGIN_API | beginEdit (Vst::ParamID id) SMTG_OVERRIDE |
tresult PLUGIN_API | performEdit (Vst::ParamID id, Vst::ParamValue value) SMTG_OVERRIDE |
tresult PLUGIN_API | endEdit (Vst::ParamID id) SMTG_OVERRIDE |
tresult PLUGIN_API | restartComponent (int32 flags) SMTG_OVERRIDE |
tresult PLUGIN_API | setDirty (TBool state) SMTG_OVERRIDE |
tresult PLUGIN_API | requestOpenEditor (FIDString name) SMTG_OVERRIDE |
tresult PLUGIN_API | startGroupEdit () SMTG_OVERRIDE |
tresult PLUGIN_API | finishGroupEdit () SMTG_OVERRIDE |
tresult PLUGIN_API | resizeView (IPlugView *view, ViewRect *newSize) SMTG_OVERRIDE |
tresult PLUGIN_API | notifyUnitSelection (Vst::UnitID) SMTG_OVERRIDE |
tresult PLUGIN_API | notifyProgramListChange (Vst::ProgramListID, int32) SMTG_OVERRIDE |
tresult PLUGIN_API | getContextInfoValue (int32 &, FIDString) SMTG_OVERRIDE |
tresult PLUGIN_API | getContextInfoString (Vst::TChar *, int32, FIDString) SMTG_OVERRIDE |
tresult PLUGIN_API | getContextInfoValue (double &, FIDString) SMTG_OVERRIDE |
tresult PLUGIN_API | setContextInfoValue (FIDString, double) SMTG_OVERRIDE |
tresult PLUGIN_API | setContextInfoValue (FIDString, int32) SMTG_OVERRIDE |
tresult PLUGIN_API | setContextInfoString (FIDString, Vst::TChar *) SMTG_OVERRIDE |
tresult PLUGIN_API | beginEditContextInfoValue (FIDString) SMTG_OVERRIDE |
tresult PLUGIN_API | endEditContextInfoValue (FIDString) SMTG_OVERRIDE |
bool | has_editor () const |
IPlugView * | view () |
void | close_view () |
void | update_contoller_param () |
tresult PLUGIN_API | queryInterface (const TUID _iid, void **obj) SMTG_OVERRIDE |
uint32 PLUGIN_API | addRef () SMTG_OVERRIDE |
uint32 PLUGIN_API | release () SMTG_OVERRIDE |
FUID const & | fuid () const |
IPtr< Vst::IUnitInfo > | unit_info () |
Vst::ParameterInfo const & | program_change_port () const |
void | set_n_factory_presets (size_t n) |
size_t | n_factory_presets () const |
uint32_t | designated_bypass_port () const |
uint32_t | parameter_count () const |
bool | parameter_is_automatable (uint32_t p) const |
bool | parameter_is_readonly (uint32_t p) const |
std::string | parameter_label (uint32_t p) const |
float | default_value (uint32_t p) const |
void | get_parameter_descriptor (uint32_t, ARDOUR::ParameterDescriptor &) const |
std::string | print_parameter (uint32_t p) const |
std::string | print_parameter (Vst::ParamID, Vst::ParamValue) const |
bool | set_program (int p, int32 sample_off) |
bool | subscribe_to_automation_changes () const |
void | automation_state_changed (uint32_t, ARDOUR::AutoState, std::weak_ptr< ARDOUR::AutomationList >) |
ARDOUR::Plugin::IOPortDescription | describe_io_port (ARDOUR::DataType dt, bool input, uint32_t id) const |
uint32_t | n_audio_inputs (bool with_aux=true) const |
uint32_t | n_audio_outputs (bool with_aux=true) const |
uint32_t | n_audio_aux_in () const |
uint32_t | n_audio_aux_out () const |
std::map< int, AudioBusInfo > const & | bus_info_in () const |
std::map< int, AudioBusInfo > const & | bus_info_out () const |
void | cycle_start () |
void | add_event (Evoral::Event< samplepos_t > const &, int32_t bus) |
void | vst3_to_midi_buffers (ARDOUR::BufferSet &, ARDOUR::ChanMapping const &) |
uint32_t | n_midi_inputs () const |
uint32_t | n_midi_outputs () const |
bool | try_set_parameter_by_id (Vst::ParamID id, float value) |
void | set_parameter (uint32_t p, float value, int32 sample_off, bool to_list=true, bool force=false) |
float | get_parameter (uint32_t p) const |
std::string | format_parameter (uint32_t p) const |
Vst::ParamID | index_to_id (uint32_t) const |
Glib::Threads::Mutex & | process_lock () |
bool & | component_is_synced () |
uint32_t | plugin_latency () |
uint32_t | plugin_tailtime () |
bool | set_block_size (int32_t) |
bool | activate () |
bool | deactivate () |
bool | active () const |
bool | is_loading_state () const |
bool | save_state (RAMStream &stream) |
bool | load_state (RAMStream &stream) |
Vst::ProcessContext & | context () |
void | set_owner (ARDOUR::SessionObject *o) |
void | set_non_realtime (bool) |
void | enable_io (std::vector< bool > const &, std::vector< bool > const &) |
void | process (float **ins, float **outs, uint32_t n_samples) |
Vst::IEditController * | controller () const |
bool | add_slave (Vst::IEditController *, bool) |
bool | remove_slave (Vst::IEditController *) |
Public Attributes | |
PBD::Signal< void(int, int)> | OnResizeView |
PBD::Signal< void(ParameterChange, uint32_t, float)> | OnParameterChange |
Private Member Functions | |
VST3PI (const VST3PI &) | |
void | terminate () |
IPlugView * | try_create_view () const |
bool | connect_components () |
bool | disconnect_components () |
bool | update_processor () |
int32 | count_channels (Vst::MediaType, Vst::BusDirection, Vst::BusType) |
bool | evoral_to_vst3 (Vst::Event &, Evoral::Event< samplepos_t > const &, int32_t) |
void | update_shadow_data () |
bool | synchronize_states () |
void | set_parameter_by_id (Vst::ParamID id, float value, int32 sample_off) |
void | set_parameter_internal (Vst::ParamID id, float value, int32 sample_off) |
void | set_event_bus_state (bool enabled) |
bool | midi_controller (int32_t, int16_t, Vst::CtrlNumber, Vst::ParamID &id) |
bool | live_midi_cc (int32_t, int16_t, Vst::CtrlNumber) |
bool | setup_info_listener () |
void | stripable_property_changed (PBD::PropertyChange const &) |
bool | setup_psl_info_handler () |
void | psl_subscribe_to (std::shared_ptr< ARDOUR::AutomationControl >, FIDString) |
void | psl_stripable_property_changed (PBD::PropertyChange const &) |
void | block_notifications () |
void | resume_notifications () |
void | send_processors_changed (ARDOUR::RouteProcessorChange const &) |
void | forward_signal (Presonus::IContextInfoHandler2 *, FIDString) const |
Definition at line 58 of file vst3_plugin.h.
Enumerator | |
---|---|
BeginGesture | |
EndGesture | |
ValueChange | |
InternalChange | |
PresetChange | |
ParamValueChanged |
Definition at line 173 of file vst3_plugin.h.
Steinberg::VST3PI::VST3PI | ( | std::shared_ptr< ARDOUR::VST3PluginModule > | m, |
std::string | unique_id | ||
) |
|
virtual |
|
private |
bool Steinberg::VST3PI::activate | ( | ) |
|
inline |
Definition at line 189 of file vst3_plugin.h.
void Steinberg::VST3PI::add_event | ( | Evoral::Event< samplepos_t > const & | , |
int32_t | bus | ||
) |
bool Steinberg::VST3PI::add_slave | ( | Vst::IEditController * | , |
bool | |||
) |
|
inline |
Definition at line 106 of file vst3_plugin.h.
void Steinberg::VST3PI::automation_state_changed | ( | uint32_t | , |
ARDOUR::AutoState | , | ||
std::weak_ptr< ARDOUR::AutomationList > | |||
) |
tresult PLUGIN_API Steinberg::VST3PI::beginEdit | ( | Vst::ParamID | id | ) |
tresult PLUGIN_API Steinberg::VST3PI::beginEditContextInfoValue | ( | FIDString | ) |
|
private |
|
inline |
Definition at line 151 of file vst3_plugin.h.
|
inline |
Definition at line 152 of file vst3_plugin.h.
void Steinberg::VST3PI::close_view | ( | ) |
|
inline |
Definition at line 170 of file vst3_plugin.h.
|
private |
|
inline |
Definition at line 196 of file vst3_plugin.h.
|
inline |
Definition at line 209 of file vst3_plugin.h.
|
private |
void Steinberg::VST3PI::cycle_start | ( | ) |
bool Steinberg::VST3PI::deactivate | ( | ) |
float Steinberg::VST3PI::default_value | ( | uint32_t | p | ) | const |
ARDOUR::Plugin::IOPortDescription Steinberg::VST3PI::describe_io_port | ( | ARDOUR::DataType | dt, |
bool | input, | ||
uint32_t | id | ||
) | const |
|
inline |
Definition at line 119 of file vst3_plugin.h.
|
private |
void Steinberg::VST3PI::enable_io | ( | std::vector< bool > const & | , |
std::vector< bool > const & | |||
) |
tresult PLUGIN_API Steinberg::VST3PI::endEdit | ( | Vst::ParamID | id | ) |
tresult PLUGIN_API Steinberg::VST3PI::endEditContextInfoValue | ( | FIDString | ) |
|
private |
tresult PLUGIN_API Steinberg::VST3PI::finishGroupEdit | ( | ) |
std::string Steinberg::VST3PI::format_parameter | ( | uint32_t | p | ) | const |
|
private |
|
inline |
Definition at line 109 of file vst3_plugin.h.
float Steinberg::VST3PI::get_parameter | ( | uint32_t | p | ) | const |
void Steinberg::VST3PI::get_parameter_descriptor | ( | uint32_t | , |
ARDOUR::ParameterDescriptor & | |||
) | const |
tresult PLUGIN_API Steinberg::VST3PI::getContextInfoString | ( | Vst::TChar * | , |
int32 | , | ||
FIDString | |||
) |
tresult PLUGIN_API Steinberg::VST3PI::getContextInfoValue | ( | double & | , |
FIDString | |||
) |
tresult PLUGIN_API Steinberg::VST3PI::getContextInfoValue | ( | int32 & | , |
FIDString | |||
) |
bool Steinberg::VST3PI::has_editor | ( | ) | const |
Vst::ParamID Steinberg::VST3PI::index_to_id | ( | uint32_t | ) | const |
|
inline |
Definition at line 190 of file vst3_plugin.h.
|
private |
bool Steinberg::VST3PI::load_state | ( | RAMStream & | stream | ) |
|
private |
|
inline |
Definition at line 139 of file vst3_plugin.h.
|
inline |
Definition at line 140 of file vst3_plugin.h.
uint32_t Steinberg::VST3PI::n_audio_inputs | ( | bool | with_aux = true | ) | const |
uint32_t Steinberg::VST3PI::n_audio_outputs | ( | bool | with_aux = true | ) | const |
|
inline |
Definition at line 116 of file vst3_plugin.h.
uint32_t Steinberg::VST3PI::n_midi_inputs | ( | ) | const |
uint32_t Steinberg::VST3PI::n_midi_outputs | ( | ) | const |
tresult PLUGIN_API Steinberg::VST3PI::notifyProgramListChange | ( | Vst::ProgramListID | , |
int32 | |||
) |
tresult PLUGIN_API Steinberg::VST3PI::notifyUnitSelection | ( | Vst::UnitID | ) |
|
inline |
Definition at line 120 of file vst3_plugin.h.
|
inline |
Definition at line 121 of file vst3_plugin.h.
|
inline |
Definition at line 122 of file vst3_plugin.h.
|
inline |
Definition at line 123 of file vst3_plugin.h.
tresult PLUGIN_API Steinberg::VST3PI::performEdit | ( | Vst::ParamID | id, |
Vst::ParamValue | value | ||
) |
uint32_t Steinberg::VST3PI::plugin_latency | ( | ) |
uint32_t Steinberg::VST3PI::plugin_tailtime | ( | ) |
std::string Steinberg::VST3PI::print_parameter | ( | uint32_t | p | ) | const |
std::string Steinberg::VST3PI::print_parameter | ( | Vst::ParamID | , |
Vst::ParamValue | |||
) | const |
void Steinberg::VST3PI::process | ( | float ** | ins, |
float ** | outs, | ||
uint32_t | n_samples | ||
) |
|
inline |
Definition at line 169 of file vst3_plugin.h.
|
inline |
Definition at line 113 of file vst3_plugin.h.
|
private |
|
private |
tresult PLUGIN_API Steinberg::VST3PI::queryInterface | ( | const TUID | _iid, |
void ** | obj | ||
) |
|
inline |
Definition at line 107 of file vst3_plugin.h.
bool Steinberg::VST3PI::remove_slave | ( | Vst::IEditController * | ) |
tresult PLUGIN_API Steinberg::VST3PI::requestOpenEditor | ( | FIDString | name | ) |
tresult PLUGIN_API Steinberg::VST3PI::resizeView | ( | IPlugView * | view, |
ViewRect * | newSize | ||
) |
tresult PLUGIN_API Steinberg::VST3PI::restartComponent | ( | int32 | flags | ) |
|
private |
bool Steinberg::VST3PI::save_state | ( | RAMStream & | stream | ) |
|
private |
bool Steinberg::VST3PI::set_block_size | ( | int32_t | ) |
|
private |
|
inline |
Definition at line 115 of file vst3_plugin.h.
void Steinberg::VST3PI::set_non_realtime | ( | bool | ) |
void Steinberg::VST3PI::set_owner | ( | ARDOUR::SessionObject * | o | ) |
void Steinberg::VST3PI::set_parameter | ( | uint32_t | p, |
float | value, | ||
int32 | sample_off, | ||
bool | to_list = true , |
||
bool | force = false |
||
) |
|
private |
|
private |
bool Steinberg::VST3PI::set_program | ( | int | p, |
int32 | sample_off | ||
) |
tresult PLUGIN_API Steinberg::VST3PI::setContextInfoString | ( | FIDString | , |
Vst::TChar * | |||
) |
tresult PLUGIN_API Steinberg::VST3PI::setContextInfoValue | ( | FIDString | , |
double | |||
) |
tresult PLUGIN_API Steinberg::VST3PI::setContextInfoValue | ( | FIDString | , |
int32 | |||
) |
tresult PLUGIN_API Steinberg::VST3PI::setDirty | ( | TBool | state | ) |
|
private |
|
private |
tresult PLUGIN_API Steinberg::VST3PI::startGroupEdit | ( | ) |
|
private |
bool Steinberg::VST3PI::subscribe_to_automation_changes | ( | ) | const |
|
private |
|
private |
|
private |
bool Steinberg::VST3PI::try_set_parameter_by_id | ( | Vst::ParamID | id, |
float | value | ||
) |
IPtr<Vst::IUnitInfo> Steinberg::VST3PI::unit_info | ( | ) |
void Steinberg::VST3PI::update_contoller_param | ( | ) |
|
private |
|
private |
IPlugView* Steinberg::VST3PI::view | ( | ) |
void Steinberg::VST3PI::vst3_to_midi_buffers | ( | ARDOUR::BufferSet & | , |
ARDOUR::ChanMapping const & | |||
) |
|
private |
Definition at line 327 of file vst3_plugin.h.
|
private |
Definition at line 328 of file vst3_plugin.h.
|
private |
Definition at line 329 of file vst3_plugin.h.
|
mutableprivate |
Definition at line 355 of file vst3_plugin.h.
|
private |
Definition at line 296 of file vst3_plugin.h.
|
private |
Definition at line 344 of file vst3_plugin.h.
|
private |
Definition at line 345 of file vst3_plugin.h.
|
private |
Definition at line 337 of file vst3_plugin.h.
|
private |
Definition at line 338 of file vst3_plugin.h.
|
private |
Definition at line 278 of file vst3_plugin.h.
|
private |
Definition at line 274 of file vst3_plugin.h.
|
private |
Definition at line 283 of file vst3_plugin.h.
|
private |
Definition at line 279 of file vst3_plugin.h.
|
private |
Definition at line 275 of file vst3_plugin.h.
|
private |
Definition at line 314 of file vst3_plugin.h.
|
private |
Definition at line 315 of file vst3_plugin.h.
|
private |
Definition at line 313 of file vst3_plugin.h.
|
private |
Definition at line 321 of file vst3_plugin.h.
|
private |
Definition at line 322 of file vst3_plugin.h.
|
private |
Definition at line 277 of file vst3_plugin.h.
|
private |
Definition at line 365 of file vst3_plugin.h.
|
private |
Definition at line 290 of file vst3_plugin.h.
|
private |
Definition at line 287 of file vst3_plugin.h.
|
private |
Definition at line 319 of file vst3_plugin.h.
|
private |
Definition at line 294 of file vst3_plugin.h.
|
private |
Definition at line 295 of file vst3_plugin.h.
|
private |
Definition at line 272 of file vst3_plugin.h.
|
private |
Definition at line 349 of file vst3_plugin.h.
|
private |
Definition at line 350 of file vst3_plugin.h.
|
private |
Definition at line 334 of file vst3_plugin.h.
|
private |
Definition at line 335 of file vst3_plugin.h.
|
private |
Definition at line 341 of file vst3_plugin.h.
|
private |
Definition at line 342 of file vst3_plugin.h.
|
private |
Definition at line 353 of file vst3_plugin.h.
|
private |
Definition at line 347 of file vst3_plugin.h.
|
private |
Definition at line 351 of file vst3_plugin.h.
|
private |
Definition at line 352 of file vst3_plugin.h.
|
private |
Definition at line 348 of file vst3_plugin.h.
|
private |
Definition at line 359 of file vst3_plugin.h.
|
private |
Definition at line 291 of file vst3_plugin.h.
|
private |
Definition at line 288 of file vst3_plugin.h.
|
private |
Definition at line 325 of file vst3_plugin.h.
|
private |
Definition at line 331 of file vst3_plugin.h.
|
private |
Definition at line 332 of file vst3_plugin.h.
|
private |
Definition at line 311 of file vst3_plugin.h.
|
private |
Definition at line 284 of file vst3_plugin.h.
|
private |
Definition at line 297 of file vst3_plugin.h.
|
private |
Definition at line 282 of file vst3_plugin.h.
|
private |
Definition at line 312 of file vst3_plugin.h.
|
private |
Definition at line 361 of file vst3_plugin.h.
|
private |
Definition at line 356 of file vst3_plugin.h.
|
private |
Definition at line 316 of file vst3_plugin.h.
|
private |
Definition at line 326 of file vst3_plugin.h.
|
mutableprivate |
Definition at line 317 of file vst3_plugin.h.
|
private |
Definition at line 280 of file vst3_plugin.h.
PBD::Signal<void(ParameterChange, uint32_t, float)> Steinberg::VST3PI::OnParameterChange |
Definition at line 181 of file vst3_plugin.h.
PBD::Signal<void(int, int)> Steinberg::VST3PI::OnResizeView |
Definition at line 103 of file vst3_plugin.h.