nongnu.org/gsequencer


gsequencer 7.0.5
Advanced Gtk+ Sequencer
ags_vst_iedit_controller.cpp File Reference
#include <ags/vst3-capi/pluginterfaces/vst/ags_vst_iedit_controller.h>
#include <ags/vst3-capi/host/ags_vst_host_context.h>
#include <pluginterfaces/vst/ivsteditcontroller.h>
#include <public.sdk/source/vst/vstcomponent.h>
Include dependency graph for ags_vst_iedit_controller.cpp:

Functions

AgsVstParameterInfoags_vst_parameter_info_alloc ()
 
void ags_vst_parameter_info_free (AgsVstParameterInfo *info)
 
AgsVstParamID ags_vst_parameter_info_get_param_id (AgsVstParameterInfo *info)
 
gchar * ags_vst_parameter_info_get_title (AgsVstParameterInfo *info)
 
gchar * ags_vst_parameter_info_get_short_title (AgsVstParameterInfo *info)
 
gchar * ags_vst_parameter_info_get_units (AgsVstParameterInfo *info)
 
gint32 ags_vst_parameter_info_get_step_count (AgsVstParameterInfo *info)
 
AgsVstParamValue ags_vst_parameter_info_get_default_normalized_value (AgsVstParameterInfo *info)
 
AgsVstUnitID ags_vst_parameter_info_get_unit_id (AgsVstParameterInfo *info)
 
guint ags_vst_parameter_info_get_flags (AgsVstParameterInfo *info)
 
const AgsVstTUIDags_vst_icomponent_handler_get_iid ()
 
AgsVstTResult ags_vst_icomponent_handler_begin_edit (AgsVstIComponentHandler *icomponent_handler, AgsVstParamID id)
 
AgsVstTResult ags_vst_icomponent_handler_perform_edit (AgsVstIComponentHandler *icomponent_handler, AgsVstParamID id, AgsVstParamValue value_normalized)
 
AgsVstTResult ags_vst_icomponent_handler_end_edit (AgsVstIComponentHandler *icomponent_handler, AgsVstParamID id)
 
AgsVstTResult ags_vst_icomponent_handler_restart_component (AgsVstIComponentHandler *icomponent_handler, gint32 flags)
 
const AgsVstTUIDags_vst_icomponent_handler2_get_iid ()
 
AgsVstTResult ags_vst_icomponent_handler2_set_dirty (AgsVstIComponentHandler2 *icomponent_handler2, gboolean state)
 
AgsVstTResult ags_vst_icomponent_handler2_request_open_editor (AgsVstIComponentHandler2 *icomponent_handler2, AgsVstFIDString name)
 
AgsVstTResult ags_vst_icomponent_handler2_finish_group_edit (AgsVstIComponentHandler2 *icomponent_handler2)
 
const AgsVstTUIDags_vst_icomponent_handler_bus_activation_get_iid ()
 
AgsVstTResult ags_vst_icomponent_handler_bus_activation_request_bus_activation (AgsVstIComponentHandlerBusActivation *icomponent_handler_bus_activation, AgsVstMediaType media_type, AgsVstBusDirection dir, gint32 index, gboolean state)
 
const AgsVstTUIDags_vst_iprogress_get_iid ()
 
AgsVstTResult ags_vst_iprogress_start (AgsVstIProgress *iprogress, AgsVstProgressType progress_type, ags_vst_tchar *optional_description, AgsVstID *out_id)
 
AgsVstTResult ags_vst_iprogress_update (AgsVstIProgress *iprogress, AgsVstID id, AgsVstParamValue norm_value)
 
AgsVstTResult ags_vst_iprogress_finish (AgsVstIProgress *iprogress, AgsVstID id)
 
const AgsVstTUIDags_vst_iedit_controller_get_iid ()
 
AgsVstTResult ags_vst_iedit_controller_set_component_state (AgsVstIEditController *iedit_controller, AgsVstIBStream *state)
 
AgsVstTResult ags_vst_iedit_controller_set_state (AgsVstIEditController *iedit_controller, AgsVstIBStream *state)
 
AgsVstTResult ags_vst_iedit_controller_get_state (AgsVstIEditController *iedit_controller, AgsVstIBStream *state)
 
gint32 ags_vst_iedit_controller_get_parameter_count (AgsVstIEditController *iedit_controller)
 
AgsVstTResult ags_vst_iedit_controller_get_parameter_info (AgsVstIEditController *iedit_controller, gint32 param_index, AgsVstParameterInfo *info)
 
AgsVstTResult ags_vst_iedit_controller_get_param_string_by_value (AgsVstIEditController *iedit_controller, AgsVstParamID id, AgsVstParamValue value_normalized, gchar *string)
 
AgsVstTResult ags_vst_iedit_controller_get_param_value_by_string (AgsVstIEditController *iedit_controller, AgsVstParamID id, AgsVstTChar *string, AgsVstParamValue *value_normalized)
 
AgsVstParamValue ags_vst_iedit_controller_normalized_param_to_plain (AgsVstIEditController *iedit_controller, AgsVstParamID id, AgsVstParamValue value_normalized)
 
AgsVstParamValue ags_vst_iedit_controller_plain_param_to_normalized (AgsVstIEditController *iedit_controller, AgsVstParamID id, AgsVstParamValue plain_value)
 
AgsVstParamValue ags_vst_iedit_controller_get_param_normalized (AgsVstIEditController *iedit_controller, AgsVstParamID id)
 
AgsVstParamValue ags_vst_iedit_controller_set_param_normalized (AgsVstIEditController *iedit_controller, AgsVstParamID id, AgsVstParamValue value)
 
AgsVstTResult ags_vst_iedit_controller_set_component_handler (AgsVstIEditController *iedit_controller, AgsVstIComponentHandler *handler)
 
AgsVstIPlugViewags_vst_iedit_controller_create_view (AgsVstIEditController *iedit_controller, AgsVstFIDString name)
 
const AgsVstTUIDags_vst_iedit_controller2_get_iid ()
 
AgsVstTResult ags_vst_iedit_controller2_set_knob_mode (AgsVstIEditController2 *iedit_controller2, guint mode)
 
AgsVstTResult ags_vst_iedit_controller2_open_help (AgsVstIEditController2 *iedit_controller2, gboolean only_check)
 
AgsVstTResult ags_vst_iedit_controller2_open_about_box (AgsVstIEditController2 *iedit_controller2, gboolean only_check)
 
const AgsVstTUIDags_vst_imidi_mapping_get_iid ()
 
AgsVstTResult ags_vst_imidi_mapping_get_midi_controller_assignment (AgsVstIMidiMapping *imidi_mapping, gint32 bus_index, gint16 channel, AgsVstCtrlNumber midi_controller_number, AgsVstParamID *id)
 
const AgsVstTUIDags_vst_iedit_controller_host_editing_get_iid ()
 
AgsVstTResult ags_vst_iedit_controller_host_editing_begin_edit_from_host (AgsVstIEditControllerHostEditing *iedit_controller_host_editing, AgsVstParamID param_id)
 
AgsVstTResult ags_vst_iedit_controller_host_editing_end_edit_from_host (AgsVstIEditControllerHostEditing *iedit_controller_host_editing, AgsVstParamID param_id)
 

Variables

const AgsVstCString ags_vst_editor = "editor"
 

Function Documentation

◆ ags_vst_icomponent_handler2_finish_group_edit()

AgsVstTResult ags_vst_icomponent_handler2_finish_group_edit ( AgsVstIComponentHandler2 icomponent_handler2)

Finish group edit.

Parameters
icomponent_handler2the component handler2
Returns
the return value
Since
5.0.0

◆ ags_vst_icomponent_handler2_get_iid()

const AgsVstTUID * ags_vst_icomponent_handler2_get_iid ( )

Get IID.

Returns
the Steinberg::TUID as AgsVstFUID
Since
5.0.0

◆ ags_vst_icomponent_handler2_request_open_editor()

AgsVstTResult ags_vst_icomponent_handler2_request_open_editor ( AgsVstIComponentHandler2 icomponent_handler2,
AgsVstFIDString  name 
)

Request open editor.

Parameters
icomponent_handler2the component handler2
namethe name
Returns
the return value
Since
5.0.0

◆ ags_vst_icomponent_handler2_set_dirty()

AgsVstTResult ags_vst_icomponent_handler2_set_dirty ( AgsVstIComponentHandler2 icomponent_handler2,
gboolean  state 
)

Set dirty.

Parameters
icomponent_handler2the component handler2
statetrue if dirty, otherwise false
Returns
the return value
Since
5.0.0

◆ ags_vst_icomponent_handler_begin_edit()

AgsVstTResult ags_vst_icomponent_handler_begin_edit ( AgsVstIComponentHandler icomponent_handler,
AgsVstParamID  id 
)

Begin edit.

Parameters
icomponent_handlerthe component handler
idthe parameter identifier
Returns
the return value
Since
5.0.0

◆ ags_vst_icomponent_handler_bus_activation_get_iid()

const AgsVstTUID * ags_vst_icomponent_handler_bus_activation_get_iid ( )

Get IID.

Returns
the Steinberg::TUID as AgsVstFUID
Since
5.0.0

◆ ags_vst_icomponent_handler_bus_activation_request_bus_activation()

AgsVstTResult ags_vst_icomponent_handler_bus_activation_request_bus_activation ( AgsVstIComponentHandlerBusActivation icomponent_handler_bus_activation,
AgsVstMediaType  media_type,
AgsVstBusDirection  dir,
gint32  index,
gboolean  state 
)

◆ ags_vst_icomponent_handler_end_edit()

AgsVstTResult ags_vst_icomponent_handler_end_edit ( AgsVstIComponentHandler icomponent_handler,
AgsVstParamID  id 
)

End edit.

Parameters
icomponent_handlerthe component handler
idthe parameter identifier
Returns
the return value
Since
5.0.0

◆ ags_vst_icomponent_handler_get_iid()

const AgsVstTUID * ags_vst_icomponent_handler_get_iid ( )

Get IID.

Returns
the Steinberg::TUID as AgsVstFUID
Since
5.0.0

◆ ags_vst_icomponent_handler_perform_edit()

AgsVstTResult ags_vst_icomponent_handler_perform_edit ( AgsVstIComponentHandler icomponent_handler,
AgsVstParamID  id,
AgsVstParamValue  value_normalized 
)

Perform edit.

Parameters
icomponent_handlerthe component handler
idthe parameter identifier
value_normalizedthe normalized value
Returns
the return value
Since
5.0.0

◆ ags_vst_icomponent_handler_restart_component()

AgsVstTResult ags_vst_icomponent_handler_restart_component ( AgsVstIComponentHandler icomponent_handler,
gint32  flags 
)

Restart component.

Parameters
icomponent_handlerthe component handler
flatsthe flags
Returns
the return value
Since
5.0.0

◆ ags_vst_iedit_controller2_get_iid()

const AgsVstTUID * ags_vst_iedit_controller2_get_iid ( )

Get IID.

Returns
the Steinberg::TUID as AgsVstFUID
Since
5.0.0

◆ ags_vst_iedit_controller2_open_about_box()

AgsVstTResult ags_vst_iedit_controller2_open_about_box ( AgsVstIEditController2 iedit_controller2,
gboolean  only_check 
)

Open about box.

Parameters
iedit_controlleriedit-controller2
only_checktrue if check, otherwise false
Returns
the return value
Since
5.0.0

◆ ags_vst_iedit_controller2_open_help()

AgsVstTResult ags_vst_iedit_controller2_open_help ( AgsVstIEditController2 iedit_controller2,
gboolean  only_check 
)

Open help.

Parameters
iedit_controlleriedit-controller2
only_checktrue if check, otherwise false
Returns
the return value
Since
5.0.0

◆ ags_vst_iedit_controller2_set_knob_mode()

AgsVstTResult ags_vst_iedit_controller2_set_knob_mode ( AgsVstIEditController2 iedit_controller2,
guint  mode 
)

Set knob mode.

Parameters
iedit_controlleriedit-controller2
modethe know mode
Returns
the return value
Since
5.0.0

◆ ags_vst_iedit_controller_create_view()

AgsVstIPlugView * ags_vst_iedit_controller_create_view ( AgsVstIEditController iedit_controller,
AgsVstFIDString  name 
)

Create view.

Parameters
iedit_controlleriedit-controller
namethe name
Returns
the plug-view
Since
5.0.0

◆ ags_vst_iedit_controller_get_iid()

const AgsVstTUID * ags_vst_iedit_controller_get_iid ( )

Get IID.

Returns
the Steinberg::TUID as AgsVstFUID
Since
5.0.0

◆ ags_vst_iedit_controller_get_param_normalized()

AgsVstParamValue ags_vst_iedit_controller_get_param_normalized ( AgsVstIEditController iedit_controller,
AgsVstParamID  id 
)

Get parameter normalized.

Parameters
iedit_controlleriedit-controller
idthe identifier
Returns
the parameter value
Since
5.0.0

◆ ags_vst_iedit_controller_get_param_string_by_value()

AgsVstTResult ags_vst_iedit_controller_get_param_string_by_value ( AgsVstIEditController iedit_controller,
AgsVstParamID  id,
AgsVstParamValue  value_normalized,
gchar *  string 
)

Get parameter string by value.

Parameters
iedit_controlleriedit-controller
idthe identifier
value_normalizedthe normalized value
stringthe string
Returns
the return value
Since
5.0.0

◆ ags_vst_iedit_controller_get_param_value_by_string()

AgsVstTResult ags_vst_iedit_controller_get_param_value_by_string ( AgsVstIEditController iedit_controller,
AgsVstParamID  id,
AgsVstTChar string,
AgsVstParamValue value_normalized 
)

Get parameter value by string.

Parameters
iedit_controlleriedit-controller
idthe identifier
stringthe string
value_normalizedthe normalized value
Returns
the return value
Since
5.0.0

◆ ags_vst_iedit_controller_get_parameter_count()

gint32 ags_vst_iedit_controller_get_parameter_count ( AgsVstIEditController iedit_controller)

Get parameter count.

Parameters
iedit_controlleriedit-controller
Returns
the parameter count
Since
5.0.0

◆ ags_vst_iedit_controller_get_parameter_info()

AgsVstTResult ags_vst_iedit_controller_get_parameter_info ( AgsVstIEditController iedit_controller,
gint32  param_index,
AgsVstParameterInfo info 
)

Get parameter info.

Parameters
iedit_controlleriedit-controller
param_indexthe parameter index
infothe parameter info
Returns
the return value
Since
5.0.0

◆ ags_vst_iedit_controller_get_state()

AgsVstTResult ags_vst_iedit_controller_get_state ( AgsVstIEditController iedit_controller,
AgsVstIBStream state 
)

Get state.

Parameters
iedit_controlleriedit-controller
statethe stream
Returns
the return value
Since
5.0.0

◆ ags_vst_iedit_controller_host_editing_begin_edit_from_host()

AgsVstTResult ags_vst_iedit_controller_host_editing_begin_edit_from_host ( AgsVstIEditControllerHostEditing iedit_controller_host_editing,
AgsVstParamID  param_id 
)

Begin edit from host.

Parameters
iedit_controller_host_editingthe iedit-controller host editing
param_idthe parameter identifier
Returns
the return value
Since
5.0.0

◆ ags_vst_iedit_controller_host_editing_end_edit_from_host()

AgsVstTResult ags_vst_iedit_controller_host_editing_end_edit_from_host ( AgsVstIEditControllerHostEditing iedit_controller_host_editing,
AgsVstParamID  param_id 
)

End edit from host.

Parameters
iedit_controller_host_editingthe iedit-controller host editing
param_idthe parameter identifier
Returns
the return value
Since
5.0.0

◆ ags_vst_iedit_controller_host_editing_get_iid()

const AgsVstTUID * ags_vst_iedit_controller_host_editing_get_iid ( )

Get IID.

Returns
the Steinberg::TUID as AgsVstFUID
Since
5.0.0

◆ ags_vst_iedit_controller_normalized_param_to_plain()

AgsVstParamValue ags_vst_iedit_controller_normalized_param_to_plain ( AgsVstIEditController iedit_controller,
AgsVstParamID  id,
AgsVstParamValue  value_normalized 
)

Normalized parameter to plain.

Parameters
iedit_controlleriedit-controller
idthe identifier
value_normalizedthe normalized value
Since
5.0.0

◆ ags_vst_iedit_controller_plain_param_to_normalized()

AgsVstParamValue ags_vst_iedit_controller_plain_param_to_normalized ( AgsVstIEditController iedit_controller,
AgsVstParamID  id,
AgsVstParamValue  plain_value 
)

Plain parameter to normalized.

Parameters
iedit_controlleriedit-controller
idthe identifier
plain_valuethe plain value
Returns
the parameter value
Since
5.0.0

◆ ags_vst_iedit_controller_set_component_handler()

AgsVstTResult ags_vst_iedit_controller_set_component_handler ( AgsVstIEditController iedit_controller,
AgsVstIComponentHandler handler 
)

Set component handler.

Parameters
iedit_controlleriedit-controller
handlerthe component handler
Returns
the parameter value
Since
5.0.0

◆ ags_vst_iedit_controller_set_component_state()

AgsVstTResult ags_vst_iedit_controller_set_component_state ( AgsVstIEditController iedit_controller,
AgsVstIBStream state 
)

Set component state.

Parameters
iedit_controlleriedit controller
statethe state
Returns
the return value
Since
5.0.0

◆ ags_vst_iedit_controller_set_param_normalized()

AgsVstParamValue ags_vst_iedit_controller_set_param_normalized ( AgsVstIEditController iedit_controller,
AgsVstParamID  id,
AgsVstParamValue  value 
)

Set parameter normalized.

Parameters
iedit_controlleriedit-controller
idthe identifier
valuethe parameter value
Returns
the parameter value
Since
5.0.0

◆ ags_vst_iedit_controller_set_state()

AgsVstTResult ags_vst_iedit_controller_set_state ( AgsVstIEditController iedit_controller,
AgsVstIBStream state 
)

Set state.

Parameters
iedit_controlleriedit-controller
statethe stream
Returns
the return value
Since
5.0.0

◆ ags_vst_imidi_mapping_get_iid()

const AgsVstTUID * ags_vst_imidi_mapping_get_iid ( )

Get IID.

Returns
the Steinberg::TUID as AgsVstFUID
Since
5.0.0

◆ ags_vst_imidi_mapping_get_midi_controller_assignment()

AgsVstTResult ags_vst_imidi_mapping_get_midi_controller_assignment ( AgsVstIMidiMapping imidi_mapping,
gint32  bus_index,
gint16  channel,
AgsVstCtrlNumber  midi_controller_number,
AgsVstParamID id 
)

Get midi controller assignment.

Parameters
imidi_mappingimidi-mapping
bus_indexthe bus index
channelthe channel
midi_controller_numbermidi controller number
idthe identifier
Returns
the return value
Since
5.0.0

◆ ags_vst_iprogress_finish()

AgsVstTResult ags_vst_iprogress_finish ( AgsVstIProgress iprogress,
AgsVstID  id 
)

Finish.

Parameters
iprogressthe iprogress
idthe identifier
Returns
the return value
Since
5.0.0

◆ ags_vst_iprogress_get_iid()

const AgsVstTUID * ags_vst_iprogress_get_iid ( )

Get IID.

Returns
the Steinberg::TUID as AgsVstFUID
Since
5.0.0

◆ ags_vst_iprogress_start()

AgsVstTResult ags_vst_iprogress_start ( AgsVstIProgress iprogress,
AgsVstProgressType  progress_type,
ags_vst_tchar optional_description,
AgsVstID out_id 
)

◆ ags_vst_iprogress_update()

AgsVstTResult ags_vst_iprogress_update ( AgsVstIProgress iprogress,
AgsVstID  id,
AgsVstParamValue  norm_value 
)

Update.

Parameters
iprogressthe iprogress
idthe identifier
norm_valuethe normalized value
Returns
the return value
Since
5.0.0

◆ ags_vst_parameter_info_alloc()

AgsVstParameterInfo * ags_vst_parameter_info_alloc ( )

Allocate parameter info.

Returns
the AgsVstParameterInfo
Since
5.0.0

◆ ags_vst_parameter_info_free()

void ags_vst_parameter_info_free ( AgsVstParameterInfo info)

Free parameter info.

Parameters
infothe parameter info
Since
5.0.0

◆ ags_vst_parameter_info_get_default_normalized_value()

AgsVstParamValue ags_vst_parameter_info_get_default_normalized_value ( AgsVstParameterInfo info)

Get default normalized value.

Parameters
infothe parameter info
Returns
the normalized value
Since
5.0.0

◆ ags_vst_parameter_info_get_flags()

guint ags_vst_parameter_info_get_flags ( AgsVstParameterInfo info)

Get flags.

Parameters
infothe parameter info
Returns
the flags
Since
5.0.0

◆ ags_vst_parameter_info_get_param_id()

AgsVstParamID ags_vst_parameter_info_get_param_id ( AgsVstParameterInfo info)

Get param id.

Parameters
infothe parameter info
Returns
the parameter identifier
Since
5.0.0

◆ ags_vst_parameter_info_get_short_title()

gchar * ags_vst_parameter_info_get_short_title ( AgsVstParameterInfo info)

Get short title.

Parameters
infothe parameter info
Returns
the short title
Since
5.0.0

◆ ags_vst_parameter_info_get_step_count()

gint32 ags_vst_parameter_info_get_step_count ( AgsVstParameterInfo info)

Get step count.

Parameters
infothe parameter info
Returns
the step count
Since
5.0.0

◆ ags_vst_parameter_info_get_title()

gchar * ags_vst_parameter_info_get_title ( AgsVstParameterInfo info)

Get title.

Parameters
infothe parameter info
Returns
the title
Since
5.0.0

◆ ags_vst_parameter_info_get_unit_id()

AgsVstUnitID ags_vst_parameter_info_get_unit_id ( AgsVstParameterInfo info)

Get unit identifier.

Parameters
infothe parameter info
Returns
the unit ID
Since
5.0.0

◆ ags_vst_parameter_info_get_units()

gchar * ags_vst_parameter_info_get_units ( AgsVstParameterInfo info)

Get units.

Parameters
infothe parameter info
Returns
the units
Since
5.0.0

Variable Documentation

◆ ags_vst_editor

const AgsVstCString ags_vst_editor = "editor"