Debian Codegraph @

ags/audio/fx/ags_fx_lfo_channel.c

raw symbols SCIP
1 /* GSequencer - Advanced GTK Sequencer
2 * Copyright (C) 2005-2022 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 #include <ags/audio/fx/ags_fx_lfo_channel.h>cxx . . $ `<file>/ags/audio/fx/ags_fx_lfo_channel.h`/
21
22 #include <ags/plugin/ags_plugin_port.h>cxx . . $ `<file>/ags/plugin/ags_plugin_port.h`/
23
24 #include <ags/audio/ags_synth_enums.h>cxx . . $ `<file>/ags/audio/ags_synth_enums.h`/
25
26 #include <ags/i18n.h>cxx . . $ `<file>/ags/i18n.h`/
27
28 void ags_fx_lfo_channel_class_initcxx . . $ ags_fx_lfo_channel_class_init(f3f635493a55313c).(AgsFxLfoChannelClasscxx . . $ AgsFxLfoChannelClass# *fx_lfo_channel);
29 void ags_fx_lfo_channel_mutable_interface_initcxx . . $ ags_fx_lfo_channel_mutable_interface_init(63b38f390ce03663).(AgsMutableInterfacecxx . . $ AgsMutableInterface# *mutable);
30 void ags_fx_lfo_channel_initcxx . . $ ags_fx_lfo_channel_init(fe4bdde7e2f0883d).(AgsFxLfoChannelcxx . . $ AgsFxLfoChannel# *fx_lfo_channel);
31 void ags_fx_lfo_channel_set_propertycxx . . $ ags_fx_lfo_channel_set_property(d7c4bb29f36c0dc4).(GObjectcxx . . $ GObject# *gobject,
32 guintcxx . . $ guint# prop_id,
33 const GValuecxx . . $ GValue# *value,
34 GParamSpeccxx . . $ GParamSpec# *param_spec);
35 void ags_fx_lfo_channel_get_propertycxx . . $ ags_fx_lfo_channel_get_property(cee2c52f22407c66).(GObjectcxx . . $ GObject# *gobject,
36 guintcxx . . $ guint# prop_id,
37 GValuecxx . . $ GValue# *value,
38 GParamSpeccxx . . $ GParamSpec# *param_spec);
39 void ags_fx_lfo_channel_disposecxx . . $ ags_fx_lfo_channel_dispose(6087475fa43034d3).(GObjectcxx . . $ GObject# *gobject);
40 void ags_fx_lfo_channel_finalizecxx . . $ ags_fx_lfo_channel_finalize(6087475fa43034d3).(GObjectcxx . . $ GObject# *gobject);
41
42 static AgsPluginPortcxx . . $ AgsPluginPort#* ags_fx_lfo_channel_get_enabled_plugin_portcxx . . $ ags_fx_lfo_channel_get_enabled_plugin_port(34b69cdf8fd7ff84).();
43 static AgsPluginPortcxx . . $ AgsPluginPort#* ags_fx_lfo_channel_get_lfo_wave_plugin_portcxx . . $ ags_fx_lfo_channel_get_lfo_wave_plugin_port(34b69cdf8fd7ff84).();
44 static AgsPluginPortcxx . . $ AgsPluginPort#* ags_fx_lfo_channel_get_lfo_freq_plugin_portcxx . . $ ags_fx_lfo_channel_get_lfo_freq_plugin_port(34b69cdf8fd7ff84).();
45 static AgsPluginPortcxx . . $ AgsPluginPort#* ags_fx_lfo_channel_get_lfo_phase_plugin_portcxx . . $ ags_fx_lfo_channel_get_lfo_phase_plugin_port(34b69cdf8fd7ff84).();
46 static AgsPluginPortcxx . . $ AgsPluginPort#* ags_fx_lfo_channel_get_lfo_depth_plugin_portcxx . . $ ags_fx_lfo_channel_get_lfo_depth_plugin_port(34b69cdf8fd7ff84).();
47 static AgsPluginPortcxx . . $ AgsPluginPort#* ags_fx_lfo_channel_get_lfo_tuning_plugin_portcxx . . $ ags_fx_lfo_channel_get_lfo_tuning_plugin_port(34b69cdf8fd7ff84).();
48
49 /**
50 * SECTION:ags_fx_lfo_channel
51 * @short_description: fx lfo channel
52 * @title: AgsFxLfoChannel
53 * @section_id:
54 * @include: ags/audio/fx/ags_fx_lfo_channel.h
55 *
56 * The #AgsFxLfoChannel class provides ports to the effect processor.
57 */
58
59 static gpointercxx . . $ gpointer# ags_fx_lfo_channel_parent_classcxx . . $ ags_fx_lfo_channel_parent_class. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!;
60
61 const gcharcxx . . $ gchar# *ags_fx_lfo_channel_plugin_namecxx . . $ ags_fx_lfo_channel_plugin_name. = "ags-fx-lfo";
62
63 const gcharcxx . . $ gchar#* ags_fx_lfo_channel_specifiercxx . . $ ags_fx_lfo_channel_specifier.[] = {
64 "./enabled[0]",
65 "./lfo-wave[0]",
66 "./lfo-freq[0]",
67 "./lfo-phase[0]",
68 "./lfo-depth[0]",
69 "./lfo-tuning[0]",
70 NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!,
71 };
72
73 const gcharcxx . . $ gchar#* ags_fx_lfo_channel_control_portcxx . . $ ags_fx_lfo_channel_control_port.[] = {
74 "1/6",
75 "2/6",
76 "3/6",
77 "4/6",
78 "5/6",
79 "6/6",
80 NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!,
81 };
82
83 enumcxx . . $ $anonymous_type_b24cf8a8e3637246_0#{
84 PROP_0cxx . . $ PROP_0.,
85 PROP_ENABLEDcxx . . $ PROP_ENABLED.,
86 PROP_LFO_WAVEcxx . . $ PROP_LFO_WAVE.,
87 PROP_LFO_FREQcxx . . $ PROP_LFO_FREQ.,
88 PROP_LFO_PHASEcxx . . $ PROP_LFO_PHASE.,
89 PROP_LFO_DEPTHcxx . . $ PROP_LFO_DEPTH.,
90 PROP_LFO_TUNINGcxx . . $ PROP_LFO_TUNING.,
91 };
92
93 GTypecxx . . $ GType#
94 ags_fx_lfo_channel_get_typecxx . . $ ags_fx_lfo_channel_get_type(7b3bcd0168edf51f).()
95 {
96 static gsizecxx . . $ gsize# g_define_type_id__static = 0;
97
98 if(g_once_init_entercxx . . $ `<external>/457917468643292165/gthread.h:270:10`!(&g_define_type_id__static)){
99 GTypecxx . . $ GType# ags_type_fx_lfo_channel = 0;
100
101 static const GTypeInfocxx . . $ GTypeInfo# ags_fx_lfo_channel_info = {
102 sizeof (AgsFxLfoChannelClasscxx . . $ AgsFxLfoChannelClass#),
103 NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, /* base_init */
104 NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, /* base_finalize */
105 (GClassInitFunccxx . . $ GClassInitFunc#) ags_fx_lfo_channel_class_initcxx . . $ ags_fx_lfo_channel_class_init(f3f635493a55313c).,
106 NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, /* class_finalize */
107 NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, /* class_channel */
108 sizeof (AgsFxLfoChannelcxx . . $ AgsFxLfoChannel#),
109 0, /* n_preallocs */
110 (GInstanceInitFunccxx . . $ GInstanceInitFunc#) ags_fx_lfo_channel_initcxx . . $ ags_fx_lfo_channel_init(fe4bdde7e2f0883d).,
111 };
112
113 ags_type_fx_lfo_channel = g_type_register_staticcxx . . $ g_type_register_static(805a40cfa272e950).(AGS_TYPE_RECALL_CHANNELcxx . . $ `ags/audio/ags_recall_channel.h:34:9`!,
114 "AgsFxLfoChannel",
115 &ags_fx_lfo_channel_info,
116 0);
117
118 g_once_init_leavecxx . . $ `<external>/457917468643292165/gthread.h:277:10`!(&g_define_type_id__static, ags_type_fx_lfo_channel);
119 }
120
121 return(g_define_type_id__static);
122 }
123
124 void
125 ags_fx_lfo_channel_class_initcxx . . $ ags_fx_lfo_channel_class_init(f3f635493a55313c).(AgsFxLfoChannelClasscxx . . $ AgsFxLfoChannelClass# *fx_lfo_channel)
126 {
127 GObjectClasscxx . . $ GObjectClass# *gobject;
128
129 GParamSpeccxx . . $ GParamSpec# *param_spec;
130
131 ags_fx_lfo_channel_parent_classcxx . . $ ags_fx_lfo_channel_parent_class. = g_type_class_peek_parentcxx . . $ g_type_class_peek_parent(9f162e79bfc6c74).(fx_lfo_channel);
132
133 /* GObjectClass */
134 gobject = (GObjectClasscxx . . $ GObjectClass# *) fx_lfo_channel;
135
136 gobject->set_propertycxx . . $ _GObjectClass#set_property. = ags_fx_lfo_channel_set_propertycxx . . $ ags_fx_lfo_channel_set_property(d7c4bb29f36c0dc4).;
137 gobject->get_propertycxx . . $ _GObjectClass#get_property. = ags_fx_lfo_channel_get_propertycxx . . $ ags_fx_lfo_channel_get_property(cee2c52f22407c66).;
138
139 gobject->disposecxx . . $ _GObjectClass#dispose. = ags_fx_lfo_channel_disposecxx . . $ ags_fx_lfo_channel_dispose(6087475fa43034d3).;
140 gobject->finalizecxx . . $ _GObjectClass#finalize. = ags_fx_lfo_channel_finalizecxx . . $ ags_fx_lfo_channel_finalize(6087475fa43034d3).;
141
142 /* properties */
143 /**
144 * AgsFxLfoChannel:enabled:
145 *
146 * The enable control of LFO.
147 *
148 * Since: 3.8.0
149 */
150 param_spec = g_param_spec_objectcxx . . $ g_param_spec_object(faf99966f027a127).("enabled",
151 i18n_pspeccxx . . $ `ags/i18n.h:24:9`!("LFO enabled"),
152 i18n_pspeccxx . . $ `ags/i18n.h:24:9`!("The enabled port to control LFO"),
153 AGS_TYPE_PORTcxx . . $ `ags/audio/ags_port.h:32:9`!,
154 G_PARAM_READABLEcxx . . $ G_PARAM_READABLE. | G_PARAM_WRITABLEcxx . . $ G_PARAM_WRITABLE.);
155 g_object_class_install_propertycxx . . $ g_object_class_install_property(9c80cb614dbe5a26).(gobject,
156 PROP_ENABLEDcxx . . $ PROP_ENABLED.,
157 param_spec);
158
159 /**
160 * AgsFxLfoChannel:lfo-wave:
161 *
162 * The wave of LFO.
163 *
164 * Since: 3.8.0
165 */
166 param_spec = g_param_spec_objectcxx . . $ g_param_spec_object(faf99966f027a127).("lfo-wave",
167 i18n_pspeccxx . . $ `ags/i18n.h:24:9`!("LFO wave"),
168 i18n_pspeccxx . . $ `ags/i18n.h:24:9`!("The wave of the LFO"),
169 AGS_TYPE_PORTcxx . . $ `ags/audio/ags_port.h:32:9`!,
170 G_PARAM_READABLEcxx . . $ G_PARAM_READABLE. | G_PARAM_WRITABLEcxx . . $ G_PARAM_WRITABLE.);
171 g_object_class_install_propertycxx . . $ g_object_class_install_property(9c80cb614dbe5a26).(gobject,
172 PROP_LFO_WAVEcxx . . $ PROP_LFO_WAVE.,
173 param_spec);
174
175 /**
176 * AgsFxLfoChannel:lfo-freq:
177 *
178 * The freq of LFO.
179 *
180 * Since: 3.8.0
181 */
182 param_spec = g_param_spec_objectcxx . . $ g_param_spec_object(faf99966f027a127).("lfo-freq",
183 i18n_pspeccxx . . $ `ags/i18n.h:24:9`!("LFO freq"),
184 i18n_pspeccxx . . $ `ags/i18n.h:24:9`!("The freq of the LFO"),
185 AGS_TYPE_PORTcxx . . $ `ags/audio/ags_port.h:32:9`!,
186 G_PARAM_READABLEcxx . . $ G_PARAM_READABLE. | G_PARAM_WRITABLEcxx . . $ G_PARAM_WRITABLE.);
187 g_object_class_install_propertycxx . . $ g_object_class_install_property(9c80cb614dbe5a26).(gobject,
188 PROP_LFO_FREQcxx . . $ PROP_LFO_FREQ.,
189 param_spec);
190
191 /**
192 * AgsFxLfoChannel:lfo-phase:
193 *
194 * The phase of LFO.
195 *
196 * Since: 3.8.0
197 */
198 param_spec = g_param_spec_objectcxx . . $ g_param_spec_object(faf99966f027a127).("lfo-phase",
199 i18n_pspeccxx . . $ `ags/i18n.h:24:9`!("LFO phase"),
200 i18n_pspeccxx . . $ `ags/i18n.h:24:9`!("The phase of the LFO"),
201 AGS_TYPE_PORTcxx . . $ `ags/audio/ags_port.h:32:9`!,
202 G_PARAM_READABLEcxx . . $ G_PARAM_READABLE. | G_PARAM_WRITABLEcxx . . $ G_PARAM_WRITABLE.);
203 g_object_class_install_propertycxx . . $ g_object_class_install_property(9c80cb614dbe5a26).(gobject,
204 PROP_LFO_PHASEcxx . . $ PROP_LFO_PHASE.,
205 param_spec);
206
207 /**
208 * AgsFxLfoChannel:lfo-depth:
209 *
210 * The depth of LFO.
211 *
212 * Since: 3.8.0
213 */
214 param_spec = g_param_spec_objectcxx . . $ g_param_spec_object(faf99966f027a127).("lfo-depth",
215 i18n_pspeccxx . . $ `ags/i18n.h:24:9`!("LFO depth"),
216 i18n_pspeccxx . . $ `ags/i18n.h:24:9`!("The depth of the LFO"),
217 AGS_TYPE_PORTcxx . . $ `ags/audio/ags_port.h:32:9`!,
218 G_PARAM_READABLEcxx . . $ G_PARAM_READABLE. | G_PARAM_WRITABLEcxx . . $ G_PARAM_WRITABLE.);
219 g_object_class_install_propertycxx . . $ g_object_class_install_property(9c80cb614dbe5a26).(gobject,
220 PROP_LFO_DEPTHcxx . . $ PROP_LFO_DEPTH.,
221 param_spec);
222
223 /**
224 * AgsFxLfoChannel:lfo-tuning:
225 *
226 * The tuning of LFO.
227 *
228 * Since: 3.8.0
229 */
230 param_spec = g_param_spec_objectcxx . . $ g_param_spec_object(faf99966f027a127).("lfo-tuning",
231 i18n_pspeccxx . . $ `ags/i18n.h:24:9`!("LFO tuning"),
232 i18n_pspeccxx . . $ `ags/i18n.h:24:9`!("The tuning of the LFO"),
233 AGS_TYPE_PORTcxx . . $ `ags/audio/ags_port.h:32:9`!,
234 G_PARAM_READABLEcxx . . $ G_PARAM_READABLE. | G_PARAM_WRITABLEcxx . . $ G_PARAM_WRITABLE.);
235 g_object_class_install_propertycxx . . $ g_object_class_install_property(9c80cb614dbe5a26).(gobject,
236 PROP_LFO_TUNINGcxx . . $ PROP_LFO_TUNING.,
237 param_spec);
238 }
239
240 void
241 ags_fx_lfo_channel_initcxx . . $ ags_fx_lfo_channel_init(fe4bdde7e2f0883d).(AgsFxLfoChannelcxx . . $ AgsFxLfoChannel# *fx_lfo_channel)
242 {
243 guintcxx . . $ guint# i;
244
245 AGS_RECALLcxx . . $ `ags/audio/ags_recall.h:41:9`!(fx_lfo_channel)->namecxx . . $ _AgsRecall#name. = "ags-fx-lfo";
246 AGS_RECALLcxx . . $ `ags/audio/ags_recall.h:41:9`!(fx_lfo_channel)->versioncxx . . $ _AgsRecall#version. = AGS_RECALL_DEFAULT_VERSIONcxx . . $ `ags/audio/ags_recall.h:137:9`!;
247 AGS_RECALLcxx . . $ `ags/audio/ags_recall.h:41:9`!(fx_lfo_channel)->build_idcxx . . $ _AgsRecall#build_id. = AGS_RECALL_DEFAULT_BUILD_IDcxx . . $ `ags/audio/ags_recall.h:138:9`!;
248 AGS_RECALLcxx . . $ `ags/audio/ags_recall.h:41:9`!(fx_lfo_channel)->xml_typecxx . . $ _AgsRecall#xml_type. = "ags-fx-lfo-channel";
249
250 /* enabled */
251 fx_lfo_channel->enabledcxx . . $ _AgsFxLfoChannel#enabled. = g_object_newcxx . . $ g_object_new(8485fe61b4be4c78).(AGS_TYPE_PORTcxx . . $ `ags/audio/ags_port.h:32:9`!,
252 "plugin-name", "ags-lfo",
253 "specifier", "./enabled[0]",
254 "control-port", "1/6",
255 "port-value-is-pointer", FALSEcxx . . $ `<external>/12741050725406041920/gmacros.h:967:9`!,
256 "port-value-type", G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!,
257 "port-value-size", sizeof(gfloatcxx . . $ gfloat#),
258 "port-value-length", 1,
259 NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!);
260
261 fx_lfo_channel->enabledcxx . . $ _AgsFxLfoChannel#enabled.->port_valuecxx . . $ _AgsPort#port_value..ags_port_floatcxx . . $ _AgsPortValue#ags_port_float. = 0.0;
262
263 g_object_setcxx . . $ g_object_set(1ac911bdc4e9a14d).(fx_lfo_channel->enabledcxx . . $ _AgsFxLfoChannel#enabled.,
264 "plugin-port", ags_fx_lfo_channel_get_enabled_plugin_portcxx . . $ ags_fx_lfo_channel_get_enabled_plugin_port(34b69cdf8fd7ff84).(),
265 NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!);
266
267 ags_recall_add_portcxx . . $ ags_recall_add_port(6ead69b5866ab1f9).((AgsRecallcxx . . $ AgsRecall# *) fx_lfo_channel,
268 fx_lfo_channel->enabledcxx . . $ _AgsFxLfoChannel#enabled.);
269
270 /* lfo wave */
271 fx_lfo_channel->lfo_wavecxx . . $ _AgsFxLfoChannel#lfo_wave. = g_object_newcxx . . $ g_object_new(8485fe61b4be4c78).(AGS_TYPE_PORTcxx . . $ `ags/audio/ags_port.h:32:9`!,
272 "plugin-name", "ags-lfo",
273 "specifier", "./lfo-wave[0]",
274 "control-port", "2/6",
275 "port-value-is-pointer", FALSEcxx . . $ `<external>/12741050725406041920/gmacros.h:967:9`!,
276 "port-value-type", G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!,
277 "port-value-size", sizeof(gfloatcxx . . $ gfloat#),
278 "port-value-length", 1,
279 NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!);
280
281 fx_lfo_channel->lfo_wavecxx . . $ _AgsFxLfoChannel#lfo_wave.->port_valuecxx . . $ _AgsPort#port_value..ags_port_floatcxx . . $ _AgsPortValue#ags_port_float. = 0.0;
282
283 g_object_setcxx . . $ g_object_set(1ac911bdc4e9a14d).(fx_lfo_channel->lfo_wavecxx . . $ _AgsFxLfoChannel#lfo_wave.,
284 "plugin-port", ags_fx_lfo_channel_get_lfo_wave_plugin_portcxx . . $ ags_fx_lfo_channel_get_lfo_wave_plugin_port(34b69cdf8fd7ff84).(),
285 NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!);
286
287 ags_recall_add_portcxx . . $ ags_recall_add_port(6ead69b5866ab1f9).((AgsRecallcxx . . $ AgsRecall# *) fx_lfo_channel,
288 fx_lfo_channel->lfo_wavecxx . . $ _AgsFxLfoChannel#lfo_wave.);
289
290 /* lfo-freq */
291 fx_lfo_channel->lfo_freqcxx . . $ _AgsFxLfoChannel#lfo_freq. = g_object_newcxx . . $ g_object_new(8485fe61b4be4c78).(AGS_TYPE_PORTcxx . . $ `ags/audio/ags_port.h:32:9`!,
292 "plugin-name", "ags-lfo",
293 "specifier", "./lfo-freq[0]",
294 "control-port", "3/6",
295 "port-value-is-pointer", FALSEcxx . . $ `<external>/12741050725406041920/gmacros.h:967:9`!,
296 "port-value-type", G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!,
297 "port-value-size", sizeof(gfloatcxx . . $ gfloat#),
298 "port-value-length", 1,
299 NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!);
300
301 fx_lfo_channel->lfo_freqcxx . . $ _AgsFxLfoChannel#lfo_freq.->port_valuecxx . . $ _AgsPort#port_value..ags_port_floatcxx . . $ _AgsPortValue#ags_port_float. = 6.0;
302
303 g_object_setcxx . . $ g_object_set(1ac911bdc4e9a14d).(fx_lfo_channel->lfo_freqcxx . . $ _AgsFxLfoChannel#lfo_freq.,
304 "plugin-port", ags_fx_lfo_channel_get_lfo_freq_plugin_portcxx . . $ ags_fx_lfo_channel_get_lfo_freq_plugin_port(34b69cdf8fd7ff84).(),
305 NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!);
306
307 ags_recall_add_portcxx . . $ ags_recall_add_port(6ead69b5866ab1f9).((AgsRecallcxx . . $ AgsRecall# *) fx_lfo_channel,
308 fx_lfo_channel->lfo_freqcxx . . $ _AgsFxLfoChannel#lfo_freq.);
309
310 /* lfo phase */
311 fx_lfo_channel->lfo_phasecxx . . $ _AgsFxLfoChannel#lfo_phase. = g_object_newcxx . . $ g_object_new(8485fe61b4be4c78).(AGS_TYPE_PORTcxx . . $ `ags/audio/ags_port.h:32:9`!,
312 "plugin-name", "ags-lfo",
313 "specifier", "./lfo-phase[0]",
314 "control-port", "4/6",
315 "port-value-is-pointer", FALSEcxx . . $ `<external>/12741050725406041920/gmacros.h:967:9`!,
316 "port-value-type", G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!,
317 "port-value-size", sizeof(gfloatcxx . . $ gfloat#),
318 "port-value-length", 1,
319 NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!);
320
321 fx_lfo_channel->lfo_phasecxx . . $ _AgsFxLfoChannel#lfo_phase.->port_valuecxx . . $ _AgsPort#port_value..ags_port_floatcxx . . $ _AgsPortValue#ags_port_float. = 0.0;
322
323 g_object_setcxx . . $ g_object_set(1ac911bdc4e9a14d).(fx_lfo_channel->lfo_phasecxx . . $ _AgsFxLfoChannel#lfo_phase.,
324 "plugin-port", ags_fx_lfo_channel_get_lfo_phase_plugin_portcxx . . $ ags_fx_lfo_channel_get_lfo_phase_plugin_port(34b69cdf8fd7ff84).(),
325 NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!);
326
327 ags_recall_add_portcxx . . $ ags_recall_add_port(6ead69b5866ab1f9).((AgsRecallcxx . . $ AgsRecall# *) fx_lfo_channel,
328 fx_lfo_channel->lfo_phasecxx . . $ _AgsFxLfoChannel#lfo_phase.);
329
330 /* lfo depth */
331 fx_lfo_channel->lfo_depthcxx . . $ _AgsFxLfoChannel#lfo_depth. = g_object_newcxx . . $ g_object_new(8485fe61b4be4c78).(AGS_TYPE_PORTcxx . . $ `ags/audio/ags_port.h:32:9`!,
332 "plugin-name", "ags-lfo",
333 "specifier", "./lfo-depth[0]",
334 "control-port", "5/6",
335 "port-value-is-pointer", FALSEcxx . . $ `<external>/12741050725406041920/gmacros.h:967:9`!,
336 "port-value-type", G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!,
337 "port-value-size", sizeof(gfloatcxx . . $ gfloat#),
338 "port-value-length", 1,
339 NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!);
340
341 fx_lfo_channel->lfo_depthcxx . . $ _AgsFxLfoChannel#lfo_depth.->port_valuecxx . . $ _AgsPort#port_value..ags_port_floatcxx . . $ _AgsPortValue#ags_port_float. = 1.0;
342
343 g_object_setcxx . . $ g_object_set(1ac911bdc4e9a14d).(fx_lfo_channel->lfo_depthcxx . . $ _AgsFxLfoChannel#lfo_depth.,
344 "plugin-port", ags_fx_lfo_channel_get_lfo_depth_plugin_portcxx . . $ ags_fx_lfo_channel_get_lfo_depth_plugin_port(34b69cdf8fd7ff84).(),
345 NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!);
346
347 ags_recall_add_portcxx . . $ ags_recall_add_port(6ead69b5866ab1f9).((AgsRecallcxx . . $ AgsRecall# *) fx_lfo_channel,
348 fx_lfo_channel->lfo_depthcxx . . $ _AgsFxLfoChannel#lfo_depth.);
349
350 /* lfo tuning */
351 fx_lfo_channel->lfo_tuningcxx . . $ _AgsFxLfoChannel#lfo_tuning. = g_object_newcxx . . $ g_object_new(8485fe61b4be4c78).(AGS_TYPE_PORTcxx . . $ `ags/audio/ags_port.h:32:9`!,
352 "plugin-name", "ags-lfo",
353 "specifier", "./lfo-tuning[0]",
354 "control-port", "6/6",
355 "port-value-is-pointer", FALSEcxx . . $ `<external>/12741050725406041920/gmacros.h:967:9`!,
356 "port-value-type", G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!,
357 "port-value-size", sizeof(gfloatcxx . . $ gfloat#),
358 "port-value-length", 1,
359 NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!);
360
361 fx_lfo_channel->lfo_tuningcxx . . $ _AgsFxLfoChannel#lfo_tuning.->port_valuecxx . . $ _AgsPort#port_value..ags_port_floatcxx . . $ _AgsPortValue#ags_port_float. = 0.0;
362
363 g_object_setcxx . . $ g_object_set(1ac911bdc4e9a14d).(fx_lfo_channel->lfo_tuningcxx . . $ _AgsFxLfoChannel#lfo_tuning.,
364 "plugin-port", ags_fx_lfo_channel_get_lfo_tuning_plugin_portcxx . . $ ags_fx_lfo_channel_get_lfo_tuning_plugin_port(34b69cdf8fd7ff84).(),
365 NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!);
366
367 ags_recall_add_portcxx . . $ ags_recall_add_port(6ead69b5866ab1f9).((AgsRecallcxx . . $ AgsRecall# *) fx_lfo_channel,
368 fx_lfo_channel->lfo_tuningcxx . . $ _AgsFxLfoChannel#lfo_tuning.);
369
370 /* input data */
371 for(i = 0; i < AGS_SOUND_SCOPE_LASTcxx . . $ AGS_SOUND_SCOPE_LAST.; i++){
372 fx_lfo_channel->input_datacxx . . $ _AgsFxLfoChannel#input_data.[i] = ags_fx_lfo_channel_input_data_alloccxx . . $ ags_fx_lfo_channel_input_data_alloc(bf0f7a28ef5e08c6).();
373
374 fx_lfo_channel->input_datacxx . . $ _AgsFxLfoChannel#input_data.[i]->parentcxx . . $ _AgsFxLfoChannelInputData#parent. = fx_lfo_channel;
375 }
376 }
377
378 void
379 ags_fx_lfo_channel_set_propertycxx . . $ ags_fx_lfo_channel_set_property(d7c4bb29f36c0dc4).(GObjectcxx . . $ GObject# *gobject,
380 guintcxx . . $ guint# prop_id,
381 const GValuecxx . . $ GValue# *value,
382 GParamSpeccxx . . $ GParamSpec# *param_spec)
383 {
384 AgsFxLfoChannelcxx . . $ AgsFxLfoChannel# *fx_lfo_channel;
385
386 GRecMutexcxx . . $ GRecMutex# *recall_mutex;
387
388 fx_lfo_channel = AGS_FX_LFO_CHANNELcxx . . $ `ags/audio/fx/ags_fx_lfo_channel.h:36:9`!(gobject);
389
390 /* get recall mutex */
391 recall_mutex = AGS_RECALL_GET_OBJ_MUTEXcxx . . $ `ags/audio/ags_recall.h:49:9`!(fx_lfo_channel);
392
393 switch(prop_id){
394 case PROP_ENABLEDcxx . . $ PROP_ENABLED.:
395 {
396 AgsPortcxx . . $ AgsPort# *port;
397
398 port = (AgsPortcxx . . $ AgsPort# *) g_value_get_objectcxx . . $ g_value_get_object(e12dff36056c2cce).(value);
399
400 g_rec_mutex_lockcxx . . $ g_rec_mutex_lock(70e02e1a6dfc5752).(recall_mutex);
401
402 if(port == fx_lfo_channel->enabledcxx . . $ _AgsFxLfoChannel#enabled.){
403 g_rec_mutex_unlockcxx . . $ g_rec_mutex_unlock(70e02e1a6dfc5752).(recall_mutex);
404
405 return;
406 }
407
408 if(fx_lfo_channel->enabledcxx . . $ _AgsFxLfoChannel#enabled. != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!){
409 g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(G_OBJECTcxx . . $ `<external>/1341695927569185362/gobject.h:54:9`!(fx_lfo_channel->enabled));
410 }
411
412 if(port != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!){
413 g_object_refcxx . . $ `<external>/1341695927569185362/gobject.h:533:9`!(G_OBJECTcxx . . $ `<external>/1341695927569185362/gobject.h:54:9`!(port));
414 }
415
416 fx_lfo_channel->enabledcxx . . $ _AgsFxLfoChannel#enabled. = port;
417
418 g_rec_mutex_unlockcxx . . $ g_rec_mutex_unlock(70e02e1a6dfc5752).(recall_mutex);
419 }
420 break;
421 case PROP_LFO_WAVEcxx . . $ PROP_LFO_WAVE.:
422 {
423 AgsPortcxx . . $ AgsPort# *port;
424
425 port = (AgsPortcxx . . $ AgsPort# *) g_value_get_objectcxx . . $ g_value_get_object(e12dff36056c2cce).(value);
426
427 g_rec_mutex_lockcxx . . $ g_rec_mutex_lock(70e02e1a6dfc5752).(recall_mutex);
428
429 if(port == fx_lfo_channel->lfo_wavecxx . . $ _AgsFxLfoChannel#lfo_wave.){
430 g_rec_mutex_unlockcxx . . $ g_rec_mutex_unlock(70e02e1a6dfc5752).(recall_mutex);
431
432 return;
433 }
434
435 if(fx_lfo_channel->lfo_wavecxx . . $ _AgsFxLfoChannel#lfo_wave. != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!){
436 g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(G_OBJECTcxx . . $ `<external>/1341695927569185362/gobject.h:54:9`!(fx_lfo_channel->lfo_wave));
437 }
438
439 if(port != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!){
440 g_object_refcxx . . $ `<external>/1341695927569185362/gobject.h:533:9`!(G_OBJECTcxx . . $ `<external>/1341695927569185362/gobject.h:54:9`!(port));
441 }
442
443 fx_lfo_channel->lfo_wavecxx . . $ _AgsFxLfoChannel#lfo_wave. = port;
444
445 g_rec_mutex_unlockcxx . . $ g_rec_mutex_unlock(70e02e1a6dfc5752).(recall_mutex);
446 }
447 break;
448 case PROP_LFO_FREQcxx . . $ PROP_LFO_FREQ.:
449 {
450 AgsPortcxx . . $ AgsPort# *port;
451
452 port = (AgsPortcxx . . $ AgsPort# *) g_value_get_objectcxx . . $ g_value_get_object(e12dff36056c2cce).(value);
453
454 g_rec_mutex_lockcxx . . $ g_rec_mutex_lock(70e02e1a6dfc5752).(recall_mutex);
455
456 if(port == fx_lfo_channel->lfo_freqcxx . . $ _AgsFxLfoChannel#lfo_freq.){
457 g_rec_mutex_unlockcxx . . $ g_rec_mutex_unlock(70e02e1a6dfc5752).(recall_mutex);
458
459 return;
460 }
461
462 if(fx_lfo_channel->lfo_freqcxx . . $ _AgsFxLfoChannel#lfo_freq. != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!){
463 g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(G_OBJECTcxx . . $ `<external>/1341695927569185362/gobject.h:54:9`!(fx_lfo_channel->lfo_freq));
464 }
465
466 if(port != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!){
467 g_object_refcxx . . $ `<external>/1341695927569185362/gobject.h:533:9`!(G_OBJECTcxx . . $ `<external>/1341695927569185362/gobject.h:54:9`!(port));
468 }
469
470 fx_lfo_channel->lfo_freqcxx . . $ _AgsFxLfoChannel#lfo_freq. = port;
471
472 g_rec_mutex_unlockcxx . . $ g_rec_mutex_unlock(70e02e1a6dfc5752).(recall_mutex);
473 }
474 break;
475 case PROP_LFO_PHASEcxx . . $ PROP_LFO_PHASE.:
476 {
477 AgsPortcxx . . $ AgsPort# *port;
478
479 port = (AgsPortcxx . . $ AgsPort# *) g_value_get_objectcxx . . $ g_value_get_object(e12dff36056c2cce).(value);
480
481 g_rec_mutex_lockcxx . . $ g_rec_mutex_lock(70e02e1a6dfc5752).(recall_mutex);
482
483 if(port == fx_lfo_channel->lfo_phasecxx . . $ _AgsFxLfoChannel#lfo_phase.){
484 g_rec_mutex_unlockcxx . . $ g_rec_mutex_unlock(70e02e1a6dfc5752).(recall_mutex);
485
486 return;
487 }
488
489 if(fx_lfo_channel->lfo_phasecxx . . $ _AgsFxLfoChannel#lfo_phase. != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!){
490 g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(G_OBJECTcxx . . $ `<external>/1341695927569185362/gobject.h:54:9`!(fx_lfo_channel->lfo_phase));
491 }
492
493 if(port != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!){
494 g_object_refcxx . . $ `<external>/1341695927569185362/gobject.h:533:9`!(G_OBJECTcxx . . $ `<external>/1341695927569185362/gobject.h:54:9`!(port));
495 }
496
497 fx_lfo_channel->lfo_phasecxx . . $ _AgsFxLfoChannel#lfo_phase. = port;
498
499 g_rec_mutex_unlockcxx . . $ g_rec_mutex_unlock(70e02e1a6dfc5752).(recall_mutex);
500 }
501 break;
502 case PROP_LFO_DEPTHcxx . . $ PROP_LFO_DEPTH.:
503 {
504 AgsPortcxx . . $ AgsPort# *port;
505
506 port = (AgsPortcxx . . $ AgsPort# *) g_value_get_objectcxx . . $ g_value_get_object(e12dff36056c2cce).(value);
507
508 g_rec_mutex_lockcxx . . $ g_rec_mutex_lock(70e02e1a6dfc5752).(recall_mutex);
509
510 if(port == fx_lfo_channel->lfo_depthcxx . . $ _AgsFxLfoChannel#lfo_depth.){
511 g_rec_mutex_unlockcxx . . $ g_rec_mutex_unlock(70e02e1a6dfc5752).(recall_mutex);
512
513 return;
514 }
515
516 if(fx_lfo_channel->lfo_depthcxx . . $ _AgsFxLfoChannel#lfo_depth. != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!){
517 g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(G_OBJECTcxx . . $ `<external>/1341695927569185362/gobject.h:54:9`!(fx_lfo_channel->lfo_depth));
518 }
519
520 if(port != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!){
521 g_object_refcxx . . $ `<external>/1341695927569185362/gobject.h:533:9`!(G_OBJECTcxx . . $ `<external>/1341695927569185362/gobject.h:54:9`!(port));
522 }
523
524 fx_lfo_channel->lfo_depthcxx . . $ _AgsFxLfoChannel#lfo_depth. = port;
525
526 g_rec_mutex_unlockcxx . . $ g_rec_mutex_unlock(70e02e1a6dfc5752).(recall_mutex);
527 }
528 break;
529 case PROP_LFO_TUNINGcxx . . $ PROP_LFO_TUNING.:
530 {
531 AgsPortcxx . . $ AgsPort# *port;
532
533 port = (AgsPortcxx . . $ AgsPort# *) g_value_get_objectcxx . . $ g_value_get_object(e12dff36056c2cce).(value);
534
535 g_rec_mutex_lockcxx . . $ g_rec_mutex_lock(70e02e1a6dfc5752).(recall_mutex);
536
537 if(port == fx_lfo_channel->lfo_tuningcxx . . $ _AgsFxLfoChannel#lfo_tuning.){
538 g_rec_mutex_unlockcxx . . $ g_rec_mutex_unlock(70e02e1a6dfc5752).(recall_mutex);
539
540 return;
541 }
542
543 if(fx_lfo_channel->lfo_tuningcxx . . $ _AgsFxLfoChannel#lfo_tuning. != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!){
544 g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(G_OBJECTcxx . . $ `<external>/1341695927569185362/gobject.h:54:9`!(fx_lfo_channel->lfo_tuning));
545 }
546
547 if(port != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!){
548 g_object_refcxx . . $ `<external>/1341695927569185362/gobject.h:533:9`!(G_OBJECTcxx . . $ `<external>/1341695927569185362/gobject.h:54:9`!(port));
549 }
550
551 fx_lfo_channel->lfo_tuningcxx . . $ _AgsFxLfoChannel#lfo_tuning. = port;
552
553 g_rec_mutex_unlockcxx . . $ g_rec_mutex_unlock(70e02e1a6dfc5752).(recall_mutex);
554 }
555 break;
556 default:
557 G_OBJECT_WARN_INVALID_PROPERTY_IDcxx . . $ `<external>/1341695927569185362/gobject.h:690:9`!(gobject, prop_id, param_spec);
558 break;
559 }
560 }
561
562 void
563 ags_fx_lfo_channel_get_propertycxx . . $ ags_fx_lfo_channel_get_property(cee2c52f22407c66).(GObjectcxx . . $ GObject# *gobject,
564 guintcxx . . $ guint# prop_id,
565 GValuecxx . . $ GValue# *value,
566 GParamSpeccxx . . $ GParamSpec# *param_spec)
567 {
568 AgsFxLfoChannelcxx . . $ AgsFxLfoChannel# *fx_lfo_channel;
569
570 GRecMutexcxx . . $ GRecMutex# *recall_mutex;
571
572 fx_lfo_channel = AGS_FX_LFO_CHANNELcxx . . $ `ags/audio/fx/ags_fx_lfo_channel.h:36:9`!(gobject);
573
574 /* get recall mutex */
575 recall_mutex = AGS_RECALL_GET_OBJ_MUTEXcxx . . $ `ags/audio/ags_recall.h:49:9`!(fx_lfo_channel);
576
577 switch(prop_id){
578 case PROP_ENABLEDcxx . . $ PROP_ENABLED.:
579 {
580 g_rec_mutex_lockcxx . . $ g_rec_mutex_lock(70e02e1a6dfc5752).(recall_mutex);
581
582 g_value_set_objectcxx . . $ g_value_set_object(e945b84c1e9702f).(value, fx_lfo_channel->enabledcxx . . $ _AgsFxLfoChannel#enabled.);
583
584 g_rec_mutex_unlockcxx . . $ g_rec_mutex_unlock(70e02e1a6dfc5752).(recall_mutex);
585 }
586 break;
587 case PROP_LFO_WAVEcxx . . $ PROP_LFO_WAVE.:
588 {
589 g_rec_mutex_lockcxx . . $ g_rec_mutex_lock(70e02e1a6dfc5752).(recall_mutex);
590
591 g_value_set_objectcxx . . $ g_value_set_object(e945b84c1e9702f).(value, fx_lfo_channel->lfo_wavecxx . . $ _AgsFxLfoChannel#lfo_wave.);
592
593 g_rec_mutex_unlockcxx . . $ g_rec_mutex_unlock(70e02e1a6dfc5752).(recall_mutex);
594 }
595 break;
596 case PROP_LFO_FREQcxx . . $ PROP_LFO_FREQ.:
597 {
598 g_rec_mutex_lockcxx . . $ g_rec_mutex_lock(70e02e1a6dfc5752).(recall_mutex);
599
600 g_value_set_objectcxx . . $ g_value_set_object(e945b84c1e9702f).(value, fx_lfo_channel->lfo_freqcxx . . $ _AgsFxLfoChannel#lfo_freq.);
601
602 g_rec_mutex_unlockcxx . . $ g_rec_mutex_unlock(70e02e1a6dfc5752).(recall_mutex);
603 }
604 break;
605 case PROP_LFO_PHASEcxx . . $ PROP_LFO_PHASE.:
606 {
607 g_rec_mutex_lockcxx . . $ g_rec_mutex_lock(70e02e1a6dfc5752).(recall_mutex);
608
609 g_value_set_objectcxx . . $ g_value_set_object(e945b84c1e9702f).(value, fx_lfo_channel->lfo_phasecxx . . $ _AgsFxLfoChannel#lfo_phase.);
610
611 g_rec_mutex_unlockcxx . . $ g_rec_mutex_unlock(70e02e1a6dfc5752).(recall_mutex);
612 }
613 break;
614 case PROP_LFO_DEPTHcxx . . $ PROP_LFO_DEPTH.:
615 {
616 g_rec_mutex_lockcxx . . $ g_rec_mutex_lock(70e02e1a6dfc5752).(recall_mutex);
617
618 g_value_set_objectcxx . . $ g_value_set_object(e945b84c1e9702f).(value, fx_lfo_channel->lfo_depthcxx . . $ _AgsFxLfoChannel#lfo_depth.);
619
620 g_rec_mutex_unlockcxx . . $ g_rec_mutex_unlock(70e02e1a6dfc5752).(recall_mutex);
621 }
622 break;
623 case PROP_LFO_TUNINGcxx . . $ PROP_LFO_TUNING.:
624 {
625 g_rec_mutex_lockcxx . . $ g_rec_mutex_lock(70e02e1a6dfc5752).(recall_mutex);
626
627 g_value_set_objectcxx . . $ g_value_set_object(e945b84c1e9702f).(value, fx_lfo_channel->lfo_tuningcxx . . $ _AgsFxLfoChannel#lfo_tuning.);
628
629 g_rec_mutex_unlockcxx . . $ g_rec_mutex_unlock(70e02e1a6dfc5752).(recall_mutex);
630 }
631 break;
632 default:
633 G_OBJECT_WARN_INVALID_PROPERTY_IDcxx . . $ `<external>/1341695927569185362/gobject.h:690:9`!(gobject, prop_id, param_spec);
634 break;
635 }
636 }
637
638 void
639 ags_fx_lfo_channel_disposecxx . . $ ags_fx_lfo_channel_dispose(6087475fa43034d3).(GObjectcxx . . $ GObject# *gobject)
640 {
641 AgsFxLfoChannelcxx . . $ AgsFxLfoChannel# *fx_lfo_channel;
642
643 fx_lfo_channel = AGS_FX_LFO_CHANNELcxx . . $ `ags/audio/fx/ags_fx_lfo_channel.h:36:9`!(gobject);
644
645 /* enabled */
646 if(fx_lfo_channel->enabledcxx . . $ _AgsFxLfoChannel#enabled. != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!){
647 g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(G_OBJECTcxx . . $ `<external>/1341695927569185362/gobject.h:54:9`!(fx_lfo_channel->enabled));
648
649 fx_lfo_channel->enabledcxx . . $ _AgsFxLfoChannel#enabled. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!;
650 }
651
652 /* lfo wave */
653 if(fx_lfo_channel->lfo_wavecxx . . $ _AgsFxLfoChannel#lfo_wave. != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!){
654 g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(G_OBJECTcxx . . $ `<external>/1341695927569185362/gobject.h:54:9`!(fx_lfo_channel->lfo_wave));
655
656 fx_lfo_channel->lfo_wavecxx . . $ _AgsFxLfoChannel#lfo_wave. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!;
657 }
658
659 /* lfo freq */
660 if(fx_lfo_channel->lfo_freqcxx . . $ _AgsFxLfoChannel#lfo_freq. != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!){
661 g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(G_OBJECTcxx . . $ `<external>/1341695927569185362/gobject.h:54:9`!(fx_lfo_channel->lfo_freq));
662
663 fx_lfo_channel->lfo_freqcxx . . $ _AgsFxLfoChannel#lfo_freq. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!;
664 }
665
666 /* lfo phase */
667 if(fx_lfo_channel->lfo_phasecxx . . $ _AgsFxLfoChannel#lfo_phase. != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!){
668 g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(G_OBJECTcxx . . $ `<external>/1341695927569185362/gobject.h:54:9`!(fx_lfo_channel->lfo_phase));
669
670 fx_lfo_channel->lfo_phasecxx . . $ _AgsFxLfoChannel#lfo_phase. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!;
671 }
672
673 /* lfo depth */
674 if(fx_lfo_channel->lfo_depthcxx . . $ _AgsFxLfoChannel#lfo_depth. != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!){
675 g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(G_OBJECTcxx . . $ `<external>/1341695927569185362/gobject.h:54:9`!(fx_lfo_channel->lfo_depth));
676
677 fx_lfo_channel->lfo_depthcxx . . $ _AgsFxLfoChannel#lfo_depth. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!;
678 }
679
680 /* lfo tuning */
681 if(fx_lfo_channel->lfo_tuningcxx . . $ _AgsFxLfoChannel#lfo_tuning. != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!){
682 g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(G_OBJECTcxx . . $ `<external>/1341695927569185362/gobject.h:54:9`!(fx_lfo_channel->lfo_tuning));
683
684 fx_lfo_channel->lfo_tuningcxx . . $ _AgsFxLfoChannel#lfo_tuning. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!;
685 }
686
687 /* call parent */
688 G_OBJECT_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:61:9`!(ags_fx_lfo_channel_parent_class)->disposecxx . . $ _GObjectClass#dispose.(gobject);
689 }
690
691 void
692 ags_fx_lfo_channel_finalizecxx . . $ ags_fx_lfo_channel_finalize(6087475fa43034d3).(GObjectcxx . . $ GObject# *gobject)
693 {
694 AgsFxLfoChannelcxx . . $ AgsFxLfoChannel# *fx_lfo_channel;
695
696 guintcxx . . $ guint# i;
697
698 fx_lfo_channel = AGS_FX_LFO_CHANNELcxx . . $ `ags/audio/fx/ags_fx_lfo_channel.h:36:9`!(gobject);
699
700 for(i = 0; i < AGS_SOUND_SCOPE_LASTcxx . . $ AGS_SOUND_SCOPE_LAST.; i++){
701 ags_fx_lfo_channel_input_data_freecxx . . $ ags_fx_lfo_channel_input_data_free(f0a62ba4fb5d193d).(fx_lfo_channel->input_datacxx . . $ _AgsFxLfoChannel#input_data.[i]);
702
703 fx_lfo_channel->input_datacxx . . $ _AgsFxLfoChannel#input_data.[i] = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!;
704 }
705
706 /* enabled */
707 if(fx_lfo_channel->enabledcxx . . $ _AgsFxLfoChannel#enabled. != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!){
708 g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(G_OBJECTcxx . . $ `<external>/1341695927569185362/gobject.h:54:9`!(fx_lfo_channel->enabled));
709 }
710
711 /* lfo wave */
712 if(fx_lfo_channel->lfo_wavecxx . . $ _AgsFxLfoChannel#lfo_wave. != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!){
713 g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(G_OBJECTcxx . . $ `<external>/1341695927569185362/gobject.h:54:9`!(fx_lfo_channel->lfo_wave));
714 }
715
716 /* lfo freq */
717 if(fx_lfo_channel->lfo_freqcxx . . $ _AgsFxLfoChannel#lfo_freq. != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!){
718 g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(G_OBJECTcxx . . $ `<external>/1341695927569185362/gobject.h:54:9`!(fx_lfo_channel->lfo_freq));
719 }
720
721 /* lfo phase */
722 if(fx_lfo_channel->lfo_phasecxx . . $ _AgsFxLfoChannel#lfo_phase. != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!){
723 g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(G_OBJECTcxx . . $ `<external>/1341695927569185362/gobject.h:54:9`!(fx_lfo_channel->lfo_phase));
724 }
725
726 /* lfo depth */
727 if(fx_lfo_channel->lfo_depthcxx . . $ _AgsFxLfoChannel#lfo_depth. != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!){
728 g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(G_OBJECTcxx . . $ `<external>/1341695927569185362/gobject.h:54:9`!(fx_lfo_channel->lfo_depth));
729 }
730
731 /* lfo tuning */
732 if(fx_lfo_channel->lfo_tuningcxx . . $ _AgsFxLfoChannel#lfo_tuning. != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!){
733 g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(G_OBJECTcxx . . $ `<external>/1341695927569185362/gobject.h:54:9`!(fx_lfo_channel->lfo_tuning));
734 }
735
736 /* call parent */
737 G_OBJECT_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:61:9`!(ags_fx_lfo_channel_parent_class)->finalizecxx . . $ _GObjectClass#finalize.(gobject);
738 }
739
740
741 static AgsPluginPortcxx . . $ AgsPluginPort#*
742 ags_fx_lfo_channel_get_enabled_plugin_portcxx . . $ ags_fx_lfo_channel_get_enabled_plugin_port(34b69cdf8fd7ff84).()
743 {
744 static AgsPluginPortcxx . . $ AgsPluginPort# *plugin_port = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!;
745
746 static GMutexcxx . . $ GMutex# mutex;
747
748 g_mutex_lockcxx . . $ g_mutex_lock(d80b1953a7cb7fd1).(&mutex);
749
750 if(plugin_port == NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!){
751 plugin_port = ags_plugin_port_newcxx . . $ ags_plugin_port_new(34b69cdf8fd7ff84).();
752 g_object_refcxx . . $ `<external>/1341695927569185362/gobject.h:533:9`!(plugin_port);
753
754 plugin_port->flagscxx . . $ _AgsPluginPort#flags. |= (AGS_PLUGIN_PORT_INPUTcxx . . $ AGS_PLUGIN_PORT_INPUT. |
755 AGS_PLUGIN_PORT_CONTROLcxx . . $ AGS_PLUGIN_PORT_CONTROL. |
756 AGS_PLUGIN_PORT_TOGGLEDcxx . . $ AGS_PLUGIN_PORT_TOGGLED.);
757
758 plugin_port->port_indexcxx . . $ _AgsPluginPort#port_index. = 0;
759
760 /* range */
761 g_value_initcxx . . $ g_value_init(afc049a76445919c).(plugin_port->default_valuecxx . . $ _AgsPluginPort#default_value.,
762 G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!);
763 g_value_initcxx . . $ g_value_init(afc049a76445919c).(plugin_port->lower_valuecxx . . $ _AgsPluginPort#lower_value.,
764 G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!);
765 g_value_initcxx . . $ g_value_init(afc049a76445919c).(plugin_port->upper_valuecxx . . $ _AgsPluginPort#upper_value.,
766 G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!);
767
768 g_value_set_floatcxx . . $ g_value_set_float(b22d5fe81e4f0ffb).(plugin_port->default_valuecxx . . $ _AgsPluginPort#default_value.,
769 0.0);
770 g_value_set_floatcxx . . $ g_value_set_float(b22d5fe81e4f0ffb).(plugin_port->lower_valuecxx . . $ _AgsPluginPort#lower_value.,
771 0.0);
772 g_value_set_floatcxx . . $ g_value_set_float(b22d5fe81e4f0ffb).(plugin_port->upper_valuecxx . . $ _AgsPluginPort#upper_value.,
773 1.0);
774 }
775
776 g_mutex_unlockcxx . . $ g_mutex_unlock(d80b1953a7cb7fd1).(&mutex);
777
778 return(plugin_port);
779 }
780
781 static AgsPluginPortcxx . . $ AgsPluginPort#*
782 ags_fx_lfo_channel_get_lfo_wave_plugin_portcxx . . $ ags_fx_lfo_channel_get_lfo_wave_plugin_port(34b69cdf8fd7ff84).()
783 {
784 static AgsPluginPortcxx . . $ AgsPluginPort# *plugin_port = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!;
785
786 static GMutexcxx . . $ GMutex# mutex;
787
788 g_mutex_lockcxx . . $ g_mutex_lock(d80b1953a7cb7fd1).(&mutex);
789
790 if(plugin_port == NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!){
791 plugin_port = ags_plugin_port_newcxx . . $ ags_plugin_port_new(34b69cdf8fd7ff84).();
792 g_object_refcxx . . $ `<external>/1341695927569185362/gobject.h:533:9`!(plugin_port);
793
794 plugin_port->flagscxx . . $ _AgsPluginPort#flags. |= (AGS_PLUGIN_PORT_INPUTcxx . . $ AGS_PLUGIN_PORT_INPUT. |
795 AGS_PLUGIN_PORT_CONTROLcxx . . $ AGS_PLUGIN_PORT_CONTROL. |
796 AGS_PLUGIN_PORT_ENUMERATIONcxx . . $ AGS_PLUGIN_PORT_ENUMERATION.);
797
798 plugin_port->port_indexcxx . . $ _AgsPluginPort#port_index. = 1;
799
800 /* range */
801 g_value_initcxx . . $ g_value_init(afc049a76445919c).(plugin_port->default_valuecxx . . $ _AgsPluginPort#default_value.,
802 G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!);
803 g_value_initcxx . . $ g_value_init(afc049a76445919c).(plugin_port->lower_valuecxx . . $ _AgsPluginPort#lower_value.,
804 G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!);
805 g_value_initcxx . . $ g_value_init(afc049a76445919c).(plugin_port->upper_valuecxx . . $ _AgsPluginPort#upper_value.,
806 G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!);
807
808 g_value_set_floatcxx . . $ g_value_set_float(b22d5fe81e4f0ffb).(plugin_port->default_valuecxx . . $ _AgsPluginPort#default_value.,
809 0.0);
810 g_value_set_floatcxx . . $ g_value_set_float(b22d5fe81e4f0ffb).(plugin_port->lower_valuecxx . . $ _AgsPluginPort#lower_value.,
811 0.0);
812 g_value_set_floatcxx . . $ g_value_set_float(b22d5fe81e4f0ffb).(plugin_port->upper_valuecxx . . $ _AgsPluginPort#upper_value.,
813 (gfloatcxx . . $ gfloat#) AGS_SYNTH_OSCILLATOR_LASTcxx . . $ AGS_SYNTH_OSCILLATOR_LAST. - 1.0);
814 }
815
816 g_mutex_unlockcxx . . $ g_mutex_unlock(d80b1953a7cb7fd1).(&mutex);
817
818 return(plugin_port);
819 }
820
821 static AgsPluginPortcxx . . $ AgsPluginPort#*
822 ags_fx_lfo_channel_get_lfo_freq_plugin_portcxx . . $ ags_fx_lfo_channel_get_lfo_freq_plugin_port(34b69cdf8fd7ff84).()
823 {
824 static AgsPluginPortcxx . . $ AgsPluginPort# *plugin_port = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!;
825
826 static GMutexcxx . . $ GMutex# mutex;
827
828 g_mutex_lockcxx . . $ g_mutex_lock(d80b1953a7cb7fd1).(&mutex);
829
830 if(plugin_port == NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!){
831 plugin_port = ags_plugin_port_newcxx . . $ ags_plugin_port_new(34b69cdf8fd7ff84).();
832 g_object_refcxx . . $ `<external>/1341695927569185362/gobject.h:533:9`!(plugin_port);
833
834 plugin_port->flagscxx . . $ _AgsPluginPort#flags. |= (AGS_PLUGIN_PORT_INPUTcxx . . $ AGS_PLUGIN_PORT_INPUT. |
835 AGS_PLUGIN_PORT_CONTROLcxx . . $ AGS_PLUGIN_PORT_CONTROL.);
836
837 plugin_port->port_indexcxx . . $ _AgsPluginPort#port_index. = 2;
838
839 /* range */
840 g_value_initcxx . . $ g_value_init(afc049a76445919c).(plugin_port->default_valuecxx . . $ _AgsPluginPort#default_value.,
841 G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!);
842 g_value_initcxx . . $ g_value_init(afc049a76445919c).(plugin_port->lower_valuecxx . . $ _AgsPluginPort#lower_value.,
843 G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!);
844 g_value_initcxx . . $ g_value_init(afc049a76445919c).(plugin_port->upper_valuecxx . . $ _AgsPluginPort#upper_value.,
845 G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!);
846
847 g_value_set_floatcxx . . $ g_value_set_float(b22d5fe81e4f0ffb).(plugin_port->default_valuecxx . . $ _AgsPluginPort#default_value.,
848 6.0);
849 g_value_set_floatcxx . . $ g_value_set_float(b22d5fe81e4f0ffb).(plugin_port->lower_valuecxx . . $ _AgsPluginPort#lower_value.,
850 0.0);
851 g_value_set_floatcxx . . $ g_value_set_float(b22d5fe81e4f0ffb).(plugin_port->upper_valuecxx . . $ _AgsPluginPort#upper_value.,
852 20.0);
853 }
854
855 g_mutex_unlockcxx . . $ g_mutex_unlock(d80b1953a7cb7fd1).(&mutex);
856
857 return(plugin_port);
858 }
859
860 static AgsPluginPortcxx . . $ AgsPluginPort#*
861 ags_fx_lfo_channel_get_lfo_phase_plugin_portcxx . . $ ags_fx_lfo_channel_get_lfo_phase_plugin_port(34b69cdf8fd7ff84).()
862 {
863 static AgsPluginPortcxx . . $ AgsPluginPort# *plugin_port = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!;
864
865 static GMutexcxx . . $ GMutex# mutex;
866
867 g_mutex_lockcxx . . $ g_mutex_lock(d80b1953a7cb7fd1).(&mutex);
868
869 if(plugin_port == NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!){
870 plugin_port = ags_plugin_port_newcxx . . $ ags_plugin_port_new(34b69cdf8fd7ff84).();
871 g_object_refcxx . . $ `<external>/1341695927569185362/gobject.h:533:9`!(plugin_port);
872
873 plugin_port->flagscxx . . $ _AgsPluginPort#flags. |= (AGS_PLUGIN_PORT_INPUTcxx . . $ AGS_PLUGIN_PORT_INPUT. |
874 AGS_PLUGIN_PORT_CONTROLcxx . . $ AGS_PLUGIN_PORT_CONTROL.);
875
876 plugin_port->port_indexcxx . . $ _AgsPluginPort#port_index. = 3;
877
878 /* range */
879 g_value_initcxx . . $ g_value_init(afc049a76445919c).(plugin_port->default_valuecxx . . $ _AgsPluginPort#default_value.,
880 G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!);
881 g_value_initcxx . . $ g_value_init(afc049a76445919c).(plugin_port->lower_valuecxx . . $ _AgsPluginPort#lower_value.,
882 G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!);
883 g_value_initcxx . . $ g_value_init(afc049a76445919c).(plugin_port->upper_valuecxx . . $ _AgsPluginPort#upper_value.,
884 G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!);
885
886 g_value_set_floatcxx . . $ g_value_set_float(b22d5fe81e4f0ffb).(plugin_port->default_valuecxx . . $ _AgsPluginPort#default_value.,
887 0.0);
888 g_value_set_floatcxx . . $ g_value_set_float(b22d5fe81e4f0ffb).(plugin_port->lower_valuecxx . . $ _AgsPluginPort#lower_value.,
889 0.0);
890 g_value_set_floatcxx . . $ g_value_set_float(b22d5fe81e4f0ffb).(plugin_port->upper_valuecxx . . $ _AgsPluginPort#upper_value.,
891 G_MAXDOUBLEcxx . . $ `<external>/10505296616216143549/glibconfig.h:34:9`!);
892 }
893
894 g_mutex_unlockcxx . . $ g_mutex_unlock(d80b1953a7cb7fd1).(&mutex);
895
896 return(plugin_port);
897 }
898
899 static AgsPluginPortcxx . . $ AgsPluginPort#*
900 ags_fx_lfo_channel_get_lfo_depth_plugin_portcxx . . $ ags_fx_lfo_channel_get_lfo_depth_plugin_port(34b69cdf8fd7ff84).()
901 {
902 static AgsPluginPortcxx . . $ AgsPluginPort# *plugin_port = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!;
903
904 static GMutexcxx . . $ GMutex# mutex;
905
906 g_mutex_lockcxx . . $ g_mutex_lock(d80b1953a7cb7fd1).(&mutex);
907
908 if(plugin_port == NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!){
909 plugin_port = ags_plugin_port_newcxx . . $ ags_plugin_port_new(34b69cdf8fd7ff84).();
910 g_object_refcxx . . $ `<external>/1341695927569185362/gobject.h:533:9`!(plugin_port);
911
912 plugin_port->flagscxx . . $ _AgsPluginPort#flags. |= (AGS_PLUGIN_PORT_INPUTcxx . . $ AGS_PLUGIN_PORT_INPUT. |
913 AGS_PLUGIN_PORT_CONTROLcxx . . $ AGS_PLUGIN_PORT_CONTROL.);
914
915 plugin_port->port_indexcxx . . $ _AgsPluginPort#port_index. = 4;
916
917 /* range */
918 g_value_initcxx . . $ g_value_init(afc049a76445919c).(plugin_port->default_valuecxx . . $ _AgsPluginPort#default_value.,
919 G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!);
920 g_value_initcxx . . $ g_value_init(afc049a76445919c).(plugin_port->lower_valuecxx . . $ _AgsPluginPort#lower_value.,
921 G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!);
922 g_value_initcxx . . $ g_value_init(afc049a76445919c).(plugin_port->upper_valuecxx . . $ _AgsPluginPort#upper_value.,
923 G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!);
924
925 g_value_set_floatcxx . . $ g_value_set_float(b22d5fe81e4f0ffb).(plugin_port->default_valuecxx . . $ _AgsPluginPort#default_value.,
926 1.0);
927 g_value_set_floatcxx . . $ g_value_set_float(b22d5fe81e4f0ffb).(plugin_port->lower_valuecxx . . $ _AgsPluginPort#lower_value.,
928 0.0);
929 g_value_set_floatcxx . . $ g_value_set_float(b22d5fe81e4f0ffb).(plugin_port->upper_valuecxx . . $ _AgsPluginPort#upper_value.,
930 1.0);
931 }
932
933 g_mutex_unlockcxx . . $ g_mutex_unlock(d80b1953a7cb7fd1).(&mutex);
934
935 return(plugin_port);
936 }
937
938 static AgsPluginPortcxx . . $ AgsPluginPort#*
939 ags_fx_lfo_channel_get_lfo_tuning_plugin_portcxx . . $ ags_fx_lfo_channel_get_lfo_tuning_plugin_port(34b69cdf8fd7ff84).()
940 {
941 static AgsPluginPortcxx . . $ AgsPluginPort# *plugin_port = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!;
942
943 static GMutexcxx . . $ GMutex# mutex;
944
945 g_mutex_lockcxx . . $ g_mutex_lock(d80b1953a7cb7fd1).(&mutex);
946
947 if(plugin_port == NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!){
948 plugin_port = ags_plugin_port_newcxx . . $ ags_plugin_port_new(34b69cdf8fd7ff84).();
949 g_object_refcxx . . $ `<external>/1341695927569185362/gobject.h:533:9`!(plugin_port);
950
951 plugin_port->flagscxx . . $ _AgsPluginPort#flags. |= (AGS_PLUGIN_PORT_INPUTcxx . . $ AGS_PLUGIN_PORT_INPUT. |
952 AGS_PLUGIN_PORT_CONTROLcxx . . $ AGS_PLUGIN_PORT_CONTROL.);
953
954 plugin_port->port_indexcxx . . $ _AgsPluginPort#port_index. = 5;
955
956 /* range */
957 g_value_initcxx . . $ g_value_init(afc049a76445919c).(plugin_port->default_valuecxx . . $ _AgsPluginPort#default_value.,
958 G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!);
959 g_value_initcxx . . $ g_value_init(afc049a76445919c).(plugin_port->lower_valuecxx . . $ _AgsPluginPort#lower_value.,
960 G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!);
961 g_value_initcxx . . $ g_value_init(afc049a76445919c).(plugin_port->upper_valuecxx . . $ _AgsPluginPort#upper_value.,
962 G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!);
963
964 g_value_set_floatcxx . . $ g_value_set_float(b22d5fe81e4f0ffb).(plugin_port->default_valuecxx . . $ _AgsPluginPort#default_value.,
965 0.0);
966 g_value_set_floatcxx . . $ g_value_set_float(b22d5fe81e4f0ffb).(plugin_port->lower_valuecxx . . $ _AgsPluginPort#lower_value.,
967 -1200.0);
968 g_value_set_floatcxx . . $ g_value_set_float(b22d5fe81e4f0ffb).(plugin_port->upper_valuecxx . . $ _AgsPluginPort#upper_value.,
969 -1200.0);
970 }
971
972 g_mutex_unlockcxx . . $ g_mutex_unlock(d80b1953a7cb7fd1).(&mutex);
973
974 return(plugin_port);
975 }
976
977 /**
978 * ags_fx_lfo_channel_input_data_alloc:
979 *
980 * Allocate #AgsFxLfoChannelInputData-struct
981 *
982 * Returns: the new #AgsFxLfoChannelInputData-struct
983 *
984 * Since: 4.0.0
985 */
986 AgsFxLfoChannelInputDatacxx . . $ AgsFxLfoChannelInputData#*
987 ags_fx_lfo_channel_input_data_alloccxx . . $ ags_fx_lfo_channel_input_data_alloc(bf0f7a28ef5e08c6).()
988 {
989 AgsFxLfoChannelInputDatacxx . . $ AgsFxLfoChannelInputData# *input_data;
990
991 input_data = (AgsFxLfoChannelInputDatacxx . . $ AgsFxLfoChannelInputData# *) g_malloccxx . . $ g_malloc(bfcfa4d6b7f7ef64).(sizeof(AgsFxLfoChannelInputDatacxx . . $ AgsFxLfoChannelInputData#));
992
993 g_rec_mutex_initcxx . . $ g_rec_mutex_init(70e02e1a6dfc5752).(&(input_data->strct_mutexcxx . . $ _AgsFxLfoChannelInputData#strct_mutex.));
994
995 input_data->parentcxx . . $ _AgsFxLfoChannelInputData#parent. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!;
996
997 input_data->lfo_synth_utilcxx . . $ _AgsFxLfoChannelInputData#lfo_synth_util. = ags_lfo_synth_util_alloccxx . . $ ags_lfo_synth_util_alloc(614c3283cefc3cc4).();
998
999 return(input_data);
1000 }
1001
1002 /**
1003 * ags_fx_lfo_channel_input_data_free:
1004 * @input_data: the #AgsFxLfoChannelInputData-struct
1005 *
1006 * Free @input_data.
1007 *
1008 * Since: 3.3.0
1009 */
1010 void
1011 ags_fx_lfo_channel_input_data_freecxx . . $ ags_fx_lfo_channel_input_data_free(f0a62ba4fb5d193d).(AgsFxLfoChannelInputDatacxx . . $ AgsFxLfoChannelInputData# *input_data)
1012 {
1013 if(input_data == NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!){
1014 return;
1015 }
1016 ags_lfo_synth_util_freecxx . . $ ags_lfo_synth_util_free(b1e8d9ccae346111).(input_data->lfo_synth_utilcxx . . $ _AgsFxLfoChannelInputData#lfo_synth_util.);
1017
1018 g_freecxx . . $ g_free(5d22bdacc48458e8).(input_data);
1019 }
1020
1021 /**
1022 * ags_fx_lfo_channel_new:
1023 * @channel: the #AgsChannel
1024 *
1025 * Create a new instance of #AgsFxLfoChannel
1026 *
1027 * Returns: the new #AgsFxLfoChannel
1028 *
1029 * Since: 3.8.0
1030 */
1031 AgsFxLfoChannelcxx . . $ AgsFxLfoChannel#*
1032 ags_fx_lfo_channel_newcxx . . $ ags_fx_lfo_channel_new(d0b7cd7855f3380f).(AgsChannelcxx . . $ AgsChannel# *channel)
1033 {
1034 AgsFxLfoChannelcxx . . $ AgsFxLfoChannel# *fx_lfo_channel;
1035
1036 fx_lfo_channel = (AgsFxLfoChannelcxx . . $ AgsFxLfoChannel# *) g_object_newcxx . . $ g_object_new(8485fe61b4be4c78).(AGS_TYPE_FX_LFO_CHANNELcxx . . $ `ags/audio/fx/ags_fx_lfo_channel.h:35:9`!,
1037 "source", channel,
1038 NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!);
1039
1040 return(fx_lfo_channel);
1041 }