nongnu.org/gsequencer


gsequencer 7.0.5
Advanced Gtk+ Sequencer
ags_vst_iedit_controller.h
Go to the documentation of this file.
1/* GSequencer - Advanced GTK Sequencer
2 * Copyright (C) 2005-2021 Joël Krähemann
3 *
4 * This file is part of GSequencer.
5 *
6 * GSequencer is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
10 *
11 * GSequencer is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with GSequencer. If not, see <http://www.gnu.org/licenses/>.
18 */
19
20#ifndef __AGS_VST_IEDIT_CONTROLLER_H__
21#define __AGS_VST_IEDIT_CONTROLLER_H__
22
24
27
29
30#ifdef __cplusplus
31extern "C" {
32#endif
33
34 typedef struct ParameterInfo AgsVstParameterInfo;
35 typedef struct IComponentHandler AgsVstIComponentHandler;
36 typedef struct ComponentHandler AgsVstComponentHandler;
37 typedef struct IComponentHandler2 AgsVstIComponentHandler2;
38 typedef struct IComponentHandlerBusActivation AgsVstIComponentHandlerBusActivation;
39 typedef struct IProgress AgsVstIProgress;
40 typedef struct IEditController AgsVstIEditController;
41 typedef struct IEditController2 AgsVstIEditController2;
42 typedef struct MyEditorController AgsVstMyEditorController;
43 typedef struct IMidiMapping AgsVstIMidiMapping;
44 typedef struct IEditControllerHostEditing AgsVstIEditControllerHostEditing;
45 typedef guint64 AgsVstID;
46
48 typedef void (*AgsVstIComponentHandlerPerformEdit)(AgsVstIComponentHandler *icomponent_handler, AgsVstParamID id, AgsVstParamValue value_normalized);
50 typedef void (*AgsVstIComponentHandlerRestartComponent)(AgsVstIComponentHandler *icomponent_handler, gint32 flags);
51
57
69
70 extern const AgsVstCString ags_vst_editor;
71
85
92
94
96
98
100
102
104
106
108
110
112
114
116 AgsVstParamID id);
117
119 AgsVstParamID id, AgsVstParamValue value_normalized);
120
122 AgsVstParamID id);
123
125 gint32 flags);
126
128
130 gboolean state);
131
133 AgsVstFIDString name);
134
136
138
140 AgsVstMediaType media_type, AgsVstBusDirection dir,
141 gint32 index,
142 gboolean state);
143
145
147 AgsVstProgressType progress_type,
148 ags_vst_tchar *optional_description,
149 AgsVstID *out_id);
150
152 AgsVstID id, AgsVstParamValue norm_value);
153
155 AgsVstID id);
156
158
160 AgsVstIBStream *state);
161
163 AgsVstIBStream *state);
164
166 AgsVstIBStream *state);
167
169
171 gint32 param_index, AgsVstParameterInfo *info);
172
174 AgsVstParamID id, AgsVstParamValue value_normalized,
175 gchar *string);
176
178 AgsVstParamID id,
179 AgsVstTChar *string,
180 AgsVstParamValue *value_normalized);
181
183 AgsVstParamID id,
184 AgsVstParamValue value_normalized);
185
187 AgsVstParamID id,
188 AgsVstParamValue plain_value);
189
191 AgsVstParamID id);
192
194 AgsVstParamID id,
195 AgsVstParamValue value);
196
198 AgsVstIComponentHandler *handler);
199
201 AgsVstFIDString name);
202
204
206 guint mode);
207
209 gboolean only_check);
210
212 gboolean only_check);
213
215
217 gint32 bus_index, gint16 channel,
218 AgsVstCtrlNumber midi_controller_number, AgsVstParamID *id);
219
221
223 AgsVstParamID param_id);
224
226 AgsVstParamID param_id);
227
228#ifdef __cplusplus
229}
230#endif
231
232#endif /*__AGS_VST_IEDIT_CONTROLLER_H__*/
struct ComponentHandler AgsVstComponentHandler
Definition ags_vst_component_handler.h:29
wchar_t ags_vst_tchar
Definition ags_vst_ftypes.h:70
const gchar * AgsVstFIDString
Definition ags_vst_ftypes.h:82
gint32 AgsVstTResult
Definition ags_vst_ftypes.h:58
const char * AgsVstCString
Definition ags_vst_ftypes.h:77
gint8 AgsVstTUID[16]
Definition ags_vst_funknown.h:79
struct IBStream AgsVstIBStream
Definition ags_vst_ibstream.h:32
gchar * ags_vst_parameter_info_get_title(AgsVstParameterInfo *info)
Definition ags_vst_iedit_controller.cpp:77
const AgsVstTUID * ags_vst_icomponent_handler_get_iid()
Definition ags_vst_iedit_controller.cpp:167
gchar * ags_vst_parameter_info_get_short_title(AgsVstParameterInfo *info)
Definition ags_vst_iedit_controller.cpp:90
void ags_vst_parameter_info_free(AgsVstParameterInfo *info)
Definition ags_vst_iedit_controller.cpp:51
guint ags_vst_parameter_info_get_flags(AgsVstParameterInfo *info)
Definition ags_vst_iedit_controller.cpp:155
struct IComponentHandler2 AgsVstIComponentHandler2
Definition ags_vst_iedit_controller.h:37
AgsVstParamValue ags_vst_iedit_controller_normalized_param_to_plain(AgsVstIEditController *iedit_controller, AgsVstParamID id, AgsVstParamValue value_normalized)
Definition ags_vst_iedit_controller.cpp:507
struct ParameterInfo AgsVstParameterInfo
Definition ags_vst_iedit_controller.h:34
AgsVstUnitID ags_vst_parameter_info_get_unit_id(AgsVstParameterInfo *info)
Definition ags_vst_iedit_controller.cpp:142
AgsVstTResult ags_vst_iedit_controller_get_parameter_info(AgsVstIEditController *iedit_controller, gint32 param_index, AgsVstParameterInfo *info)
Definition ags_vst_iedit_controller.cpp:444
struct IEditControllerHostEditing AgsVstIEditControllerHostEditing
Definition ags_vst_iedit_controller.h:44
AgsVstParameterFlags
Definition ags_vst_iedit_controller.h:59
@ AGS_VST_KCAN_AUTOMATE
Definition ags_vst_iedit_controller.h:61
@ AGS_VST_KIS_HIDDEN
Definition ags_vst_iedit_controller.h:65
@ AGS_VST_KIS_BYPASS
Definition ags_vst_iedit_controller.h:67
@ AGS_VST_KIS_LIST
Definition ags_vst_iedit_controller.h:64
@ AGS_VST_KIS_WRAP_AROUND
Definition ags_vst_iedit_controller.h:63
@ AGS_VST_KNO_FLAGS
Definition ags_vst_iedit_controller.h:60
@ AGS_VST_KIS_PROGRAM_CHANGE
Definition ags_vst_iedit_controller.h:66
@ AGS_VST_KIS_READ_ONLY
Definition ags_vst_iedit_controller.h:62
AgsVstRestartFlags
Definition ags_vst_iedit_controller.h:73
@ AGS_VST_KMIDI_CC_ASSIGNMENT_CHANGED
Definition ags_vst_iedit_controller.h:79
@ AGS_VST_KRELOAD_COMPONENT
Definition ags_vst_iedit_controller.h:74
@ AGS_VST_KNOTE_EXPRESSION_CHANGED
Definition ags_vst_iedit_controller.h:80
@ AGS_VST_KROUTING_INFO_CHANGED
Definition ags_vst_iedit_controller.h:83
@ AGS_VST_KLATENCY_CHANGED
Definition ags_vst_iedit_controller.h:77
@ AGS_VST_KPARAM_VALUES_CHANGED
Definition ags_vst_iedit_controller.h:76
@ AGS_VST_KPREFETCHABLE_SUPPORT_CHANGED
Definition ags_vst_iedit_controller.h:82
@ AGS_VST_KIO_CHANGED
Definition ags_vst_iedit_controller.h:75
@ AGS_VST_KIO_TITLES_CHANGED
Definition ags_vst_iedit_controller.h:81
@ AGS_VST_KPARAM_TITLES_CHANGED
Definition ags_vst_iedit_controller.h:78
const AgsVstTUID * ags_vst_icomponent_handler2_get_iid()
Definition ags_vst_iedit_controller.cpp:240
const AgsVstTUID * ags_vst_iedit_controller_host_editing_get_iid()
Definition ags_vst_iedit_controller.cpp:691
const AgsVstCString ags_vst_editor
Definition ags_vst_iedit_controller.cpp:30
const AgsVstTUID * ags_vst_icomponent_handler_bus_activation_get_iid()
Definition ags_vst_iedit_controller.cpp:295
AgsVstTResult ags_vst_iprogress_finish(AgsVstIProgress *iprogress, AgsVstID id)
Definition ags_vst_iedit_controller.cpp:358
AgsVstTResult ags_vst_icomponent_handler_bus_activation_request_bus_activation(AgsVstIComponentHandlerBusActivation *icomponent_handler_bus_activation, AgsVstMediaType media_type, AgsVstBusDirection dir, gint32 index, gboolean state)
Definition ags_vst_iedit_controller.cpp:300
void(* AgsVstIComponentHandlerRestartComponent)(AgsVstIComponentHandler *icomponent_handler, gint32 flags)
Definition ags_vst_iedit_controller.h:50
AgsVstTResult ags_vst_icomponent_handler_begin_edit(AgsVstIComponentHandler *icomponent_handler, AgsVstParamID id)
Definition ags_vst_iedit_controller.cpp:181
AgsVstTResult ags_vst_iedit_controller_host_editing_begin_edit_from_host(AgsVstIEditControllerHostEditing *iedit_controller_host_editing, AgsVstParamID param_id)
Definition ags_vst_iedit_controller.cpp:705
AgsVstParamID ags_vst_parameter_info_get_param_id(AgsVstParameterInfo *info)
Definition ags_vst_iedit_controller.cpp:64
AgsVstParamValue ags_vst_iedit_controller_plain_param_to_normalized(AgsVstIEditController *iedit_controller, AgsVstParamID id, AgsVstParamValue plain_value)
Definition ags_vst_iedit_controller.cpp:525
const AgsVstTUID * ags_vst_iedit_controller2_get_iid()
Definition ags_vst_iedit_controller.cpp:602
AgsVstParamValue ags_vst_iedit_controller_set_param_normalized(AgsVstIEditController *iedit_controller, AgsVstParamID id, AgsVstParamValue value)
Definition ags_vst_iedit_controller.cpp:558
AgsVstTResult ags_vst_icomponent_handler2_set_dirty(AgsVstIComponentHandler2 *icomponent_handler2, gboolean state)
Definition ags_vst_iedit_controller.cpp:254
gint32 ags_vst_parameter_info_get_step_count(AgsVstParameterInfo *info)
Definition ags_vst_iedit_controller.cpp:116
AgsVstTResult ags_vst_iedit_controller_get_param_string_by_value(AgsVstIEditController *iedit_controller, AgsVstParamID id, AgsVstParamValue value_normalized, gchar *string)
Definition ags_vst_iedit_controller.cpp:462
AgsVstTResult ags_vst_iprogress_start(AgsVstIProgress *iprogress, AgsVstProgressType progress_type, ags_vst_tchar *optional_description, AgsVstID *out_id)
Definition ags_vst_iedit_controller.cpp:322
struct IEditController2 AgsVstIEditController2
Definition ags_vst_iedit_controller.h:41
AgsVstKnobModes
Definition ags_vst_iedit_controller.h:87
@ AGS_VST_KRELATIVE_CIRCULAR_MODE
Definition ags_vst_iedit_controller.h:89
@ AGS_VST_KLINEAR_MODE
Definition ags_vst_iedit_controller.h:90
@ AGS_VST_KCIRCULAR_MODE
Definition ags_vst_iedit_controller.h:88
const AgsVstTUID * ags_vst_iprogress_get_iid()
Definition ags_vst_iedit_controller.cpp:317
const AgsVstTUID * ags_vst_iedit_controller_get_iid()
Definition ags_vst_iedit_controller.cpp:371
AgsVstTResult ags_vst_iedit_controller_set_component_handler(AgsVstIEditController *iedit_controller, AgsVstIComponentHandler *handler)
Definition ags_vst_iedit_controller.cpp:574
void(* AgsVstIComponentHandlerPerformEdit)(AgsVstIComponentHandler *icomponent_handler, AgsVstParamID id, AgsVstParamValue value_normalized)
Definition ags_vst_iedit_controller.h:48
void(* AgsVstIComponentHandlerBeginEdit)(AgsVstIComponentHandler *icomponent_handler, AgsVstParamID id)
Definition ags_vst_iedit_controller.h:47
AgsVstTResult ags_vst_icomponent_handler_end_edit(AgsVstIComponentHandler *icomponent_handler, AgsVstParamID id)
Definition ags_vst_iedit_controller.cpp:212
struct IProgress AgsVstIProgress
Definition ags_vst_iedit_controller.h:39
AgsVstIPlugView * ags_vst_iedit_controller_create_view(AgsVstIEditController *iedit_controller, AgsVstFIDString name)
Definition ags_vst_iedit_controller.cpp:589
AgsVstTResult ags_vst_icomponent_handler2_finish_group_edit(AgsVstIComponentHandler2 *icomponent_handler2)
Definition ags_vst_iedit_controller.cpp:283
struct IMidiMapping AgsVstIMidiMapping
Definition ags_vst_iedit_controller.h:43
AgsVstTResult ags_vst_iedit_controller_host_editing_end_edit_from_host(AgsVstIEditControllerHostEditing *iedit_controller_host_editing, AgsVstParamID param_id)
Definition ags_vst_iedit_controller.cpp:720
AgsVstTResult ags_vst_iedit_controller2_set_knob_mode(AgsVstIEditController2 *iedit_controller2, guint mode)
Definition ags_vst_iedit_controller.cpp:616
AgsVstTResult ags_vst_iedit_controller2_open_help(AgsVstIEditController2 *iedit_controller2, gboolean only_check)
Definition ags_vst_iedit_controller.cpp:631
AgsVstProgressType
Definition ags_vst_iedit_controller.h:53
@ AsyncStateRestoration
Definition ags_vst_iedit_controller.h:54
@ UIBackgroundTask
Definition ags_vst_iedit_controller.h:55
AgsVstTResult ags_vst_iprogress_update(AgsVstIProgress *iprogress, AgsVstID id, AgsVstParamValue norm_value)
Definition ags_vst_iedit_controller.cpp:342
struct MyEditorController AgsVstMyEditorController
Definition ags_vst_iedit_controller.h:42
struct IEditController AgsVstIEditController
Definition ags_vst_iedit_controller.h:40
struct IComponentHandler AgsVstIComponentHandler
Definition ags_vst_iedit_controller.h:35
AgsVstParamValue ags_vst_parameter_info_get_default_normalized_value(AgsVstParameterInfo *info)
Definition ags_vst_iedit_controller.cpp:129
AgsVstTResult ags_vst_imidi_mapping_get_midi_controller_assignment(AgsVstIMidiMapping *imidi_mapping, gint32 bus_index, gint16 channel, AgsVstCtrlNumber midi_controller_number, AgsVstParamID *id)
Definition ags_vst_iedit_controller.cpp:676
AgsVstTResult ags_vst_icomponent_handler_restart_component(AgsVstIComponentHandler *icomponent_handler, gint32 flags)
Definition ags_vst_iedit_controller.cpp:227
AgsVstTResult ags_vst_icomponent_handler2_request_open_editor(AgsVstIComponentHandler2 *icomponent_handler2, AgsVstFIDString name)
Definition ags_vst_iedit_controller.cpp:269
guint64 AgsVstID
Definition ags_vst_iedit_controller.h:45
AgsVstTResult ags_vst_icomponent_handler_perform_edit(AgsVstIComponentHandler *icomponent_handler, AgsVstParamID id, AgsVstParamValue value_normalized)
Definition ags_vst_iedit_controller.cpp:197
gint32 ags_vst_iedit_controller_get_parameter_count(AgsVstIEditController *iedit_controller)
Definition ags_vst_iedit_controller.cpp:429
AgsVstTResult ags_vst_iedit_controller_set_state(AgsVstIEditController *iedit_controller, AgsVstIBStream *state)
Definition ags_vst_iedit_controller.cpp:400
AgsVstTResult ags_vst_iedit_controller_get_state(AgsVstIEditController *iedit_controller, AgsVstIBStream *state)
Definition ags_vst_iedit_controller.cpp:415
gchar * ags_vst_parameter_info_get_units(AgsVstParameterInfo *info)
Definition ags_vst_iedit_controller.cpp:103
AgsVstParamValue ags_vst_iedit_controller_get_param_normalized(AgsVstIEditController *iedit_controller, AgsVstParamID id)
Definition ags_vst_iedit_controller.cpp:542
AgsVstTResult ags_vst_iedit_controller_get_param_value_by_string(AgsVstIEditController *iedit_controller, AgsVstParamID id, AgsVstTChar *string, AgsVstParamValue *value_normalized)
Definition ags_vst_iedit_controller.cpp:488
void(* AgsVstIComponentHandlerEndEdit)(AgsVstIComponentHandler *icomponent_handler, AgsVstParamID id)
Definition ags_vst_iedit_controller.h:49
AgsVstParameterInfo * ags_vst_parameter_info_alloc()
Definition ags_vst_iedit_controller.cpp:39
const AgsVstTUID * ags_vst_imidi_mapping_get_iid()
Definition ags_vst_iedit_controller.cpp:659
AgsVstTResult ags_vst_iedit_controller2_open_about_box(AgsVstIEditController2 *iedit_controller2, gboolean only_check)
Definition ags_vst_iedit_controller.cpp:646
AgsVstTResult ags_vst_iedit_controller_set_component_state(AgsVstIEditController *iedit_controller, AgsVstIBStream *state)
Definition ags_vst_iedit_controller.cpp:385
struct IComponentHandlerBusActivation AgsVstIComponentHandlerBusActivation
Definition ags_vst_iedit_controller.h:38
gdouble AgsVstParamValue
Definition ags_vst_types.h:51
guint32 AgsVstParamID
Definition ags_vst_types.h:52
gint32 AgsVstUnitID
Definition ags_vst_types.h:50
gint16 AgsVstCtrlNumber
Definition ags_vst_types.h:54
gunichar2 AgsVstTChar
Definition ags_vst_types.h:43
gint32 AgsVstBusDirection
Definition ags_vst_types.h:47
gint32 AgsVstMediaType
Definition ags_vst_types.h:46
struct IPlugView AgsVstIPlugView
Definition ags_vst_iplug_view.h:34