| 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/ags_recall_audio_signal.h>cxx . . $ `<file>/ags/audio/ags_recall_audio_signal.h`/ |
| 21 | |
| 22 | #include <ags/audio/ags_audio_signal.h>cxx . . $ `<file>/ags/audio/ags_audio_signal.h`/ |
| 23 | |
| 24 | #include <ags/i18n.h>cxx . . $ `<file>/ags/i18n.h`/ |
| 25 | |
| 26 | void ags_recall_audio_signal_class_initcxx . . $ ags_recall_audio_signal_class_init(6291103792bf4dda).(AgsRecallAudioSignalClasscxx . . $ AgsRecallAudioSignalClass# *recall_audio_signal); |
| 27 | void ags_recall_audio_signal_connectable_interface_initcxx . . $ ags_recall_audio_signal_connectable_interface_init(ded8caecc234b61b).(AgsConnectableInterfacecxx . . $ AgsConnectableInterface# *connectable); |
| 28 | void ags_recall_audio_signal_initcxx . . $ ags_recall_audio_signal_init(64ddb4fcafa38960).(AgsRecallAudioSignalcxx . . $ AgsRecallAudioSignal# *recall_audio_signal); |
| 29 | void ags_recall_audio_signal_set_propertycxx . . $ ags_recall_audio_signal_set_property(d7c4bb29f36c0dc4).(GObjectcxx . . $ GObject# *gobject, |
| 30 | guintcxx . . $ guint# prop_id, |
| 31 | const GValuecxx . . $ GValue# *value, |
| 32 | GParamSpeccxx . . $ GParamSpec# *param_spec); |
| 33 | void ags_recall_audio_signal_get_propertycxx . . $ ags_recall_audio_signal_get_property(cee2c52f22407c66).(GObjectcxx . . $ GObject# *gobject, |
| 34 | guintcxx . . $ guint# prop_id, |
| 35 | GValuecxx . . $ GValue# *value, |
| 36 | GParamSpeccxx . . $ GParamSpec# *param_spec); |
| 37 | void ags_recall_audio_signal_disposecxx . . $ ags_recall_audio_signal_dispose(6087475fa43034d3).(GObjectcxx . . $ GObject# *gobject); |
| 38 | void ags_recall_audio_signal_finalizecxx . . $ ags_recall_audio_signal_finalize(6087475fa43034d3).(GObjectcxx . . $ GObject# *gobject); |
| 39 | |
| 40 | /** |
| 41 | * SECTION:ags_recall_audio_signal |
| 42 | * @Short_description: The recall base class of dynamic audio signal context |
| 43 | * @Title: AgsRecallAudioSignal |
| 44 | * @section_id: |
| 45 | * @include: ags/audio/ags_recall_audio_signal.h |
| 46 | * |
| 47 | * #AgsRecallAudioSignal acts as dynamic audio signal recall. It does audio processing for audio signal context. |
| 48 | */ |
| 49 | |
| 50 | enumcxx . . $ $anonymous_type_15df975c20f5b66_0#{ |
| 51 | PROP_0cxx . . $ PROP_0., |
| 52 | PROP_DESTINATIONcxx . . $ PROP_DESTINATION., |
| 53 | PROP_SOURCEcxx . . $ PROP_SOURCE., |
| 54 | }; |
| 55 | |
| 56 | static gpointercxx . . $ gpointer# ags_recall_audio_signal_parent_classcxx . . $ ags_recall_audio_signal_parent_class. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!; |
| 57 | static AgsConnectableInterfacecxx . . $ AgsConnectableInterface# *ags_recall_audio_signal_parent_connectable_interfacecxx . . $ ags_recall_audio_signal_parent_connectable_interface.; |
| 58 | |
| 59 | GTypecxx . . $ GType# |
| 60 | ags_recall_audio_signal_get_typecxx . . $ ags_recall_audio_signal_get_type(7b3bcd0168edf51f).() |
| 61 | { |
| 62 | static gsizecxx . . $ gsize# g_define_type_id__static = 0; |
| 63 | |
| 64 | if(g_once_init_entercxx . . $ `<external>/457917468643292165/gthread.h:270:10`!(&g_define_type_id__static)){ |
| 65 | GTypecxx . . $ GType# ags_type_recall_audio_signal = 0; |
| 66 | |
| 67 | static const GTypeInfocxx . . $ GTypeInfo# ags_recall_audio_signal_info = { |
| 68 | sizeof (AgsRecallAudioSignalClasscxx . . $ AgsRecallAudioSignalClass#), |
| 69 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, /* base_init */ |
| 70 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, /* base_finalize */ |
| 71 | (GClassInitFunccxx . . $ GClassInitFunc#) ags_recall_audio_signal_class_initcxx . . $ ags_recall_audio_signal_class_init(6291103792bf4dda)., |
| 72 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, /* class_finalize */ |
| 73 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, /* class_data */ |
| 74 | sizeof (AgsRecallAudioSignalcxx . . $ AgsRecallAudioSignal#), |
| 75 | 0, /* n_preallocs */ |
| 76 | (GInstanceInitFunccxx . . $ GInstanceInitFunc#) ags_recall_audio_signal_initcxx . . $ ags_recall_audio_signal_init(64ddb4fcafa38960)., |
| 77 | }; |
| 78 | |
| 79 | static const GInterfaceInfocxx . . $ GInterfaceInfo# ags_connectable_interface_info = { |
| 80 | (GInterfaceInitFunccxx . . $ GInterfaceInitFunc#) ags_recall_audio_signal_connectable_interface_initcxx . . $ ags_recall_audio_signal_connectable_interface_init(ded8caecc234b61b)., |
| 81 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, /* interface_finalize */ |
| 82 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, /* interface_data */ |
| 83 | }; |
| 84 | |
| 85 | ags_type_recall_audio_signal = g_type_register_staticcxx . . $ g_type_register_static(805a40cfa272e950).(AGS_TYPE_RECALLcxx . . $ `ags/audio/ags_recall.h:38:9`!, |
| 86 | "AgsRecallAudioSignal", |
| 87 | &ags_recall_audio_signal_info, |
| 88 | 0); |
| 89 | |
| 90 | g_type_add_interface_staticcxx . . $ g_type_add_interface_static(242860dc27e79bd1).(ags_type_recall_audio_signal, |
| 91 | AGS_TYPE_CONNECTABLEcxx . . $ `ags/object/ags_connectable.h:32:9`!, |
| 92 | &ags_connectable_interface_info); |
| 93 | |
| 94 | g_once_init_leavecxx . . $ `<external>/457917468643292165/gthread.h:277:10`!(&g_define_type_id__static, ags_type_recall_audio_signal); |
| 95 | } |
| 96 | |
| 97 | return(g_define_type_id__static); |
| 98 | } |
| 99 | |
| 100 | void |
| 101 | ags_recall_audio_signal_class_initcxx . . $ ags_recall_audio_signal_class_init(6291103792bf4dda).(AgsRecallAudioSignalClasscxx . . $ AgsRecallAudioSignalClass# *recall_audio_signal) |
| 102 | { |
| 103 | GObjectClasscxx . . $ GObjectClass# *gobject; |
| 104 | AgsRecallClasscxx . . $ AgsRecallClass# *recall; |
| 105 | GParamSpeccxx . . $ GParamSpec# *param_spec; |
| 106 | |
| 107 | ags_recall_audio_signal_parent_classcxx . . $ ags_recall_audio_signal_parent_class. = g_type_class_peek_parentcxx . . $ g_type_class_peek_parent(9f162e79bfc6c74).(recall_audio_signal); |
| 108 | |
| 109 | /* GObjectClass */ |
| 110 | gobject = (GObjectClasscxx . . $ GObjectClass# *) recall_audio_signal; |
| 111 | |
| 112 | gobject->set_propertycxx . . $ _GObjectClass#set_property. = ags_recall_audio_signal_set_propertycxx . . $ ags_recall_audio_signal_set_property(d7c4bb29f36c0dc4).; |
| 113 | gobject->get_propertycxx . . $ _GObjectClass#get_property. = ags_recall_audio_signal_get_propertycxx . . $ ags_recall_audio_signal_get_property(cee2c52f22407c66).; |
| 114 | |
| 115 | gobject->disposecxx . . $ _GObjectClass#dispose. = ags_recall_audio_signal_disposecxx . . $ ags_recall_audio_signal_dispose(6087475fa43034d3).; |
| 116 | gobject->finalizecxx . . $ _GObjectClass#finalize. = ags_recall_audio_signal_finalizecxx . . $ ags_recall_audio_signal_finalize(6087475fa43034d3).; |
| 117 | |
| 118 | /* properties */ |
| 119 | /** |
| 120 | * AgsRecallAudioSignal:destination: |
| 121 | * |
| 122 | * The destination audio signal |
| 123 | * |
| 124 | * Since: 3.0.0 |
| 125 | */ |
| 126 | param_spec = g_param_spec_objectcxx . . $ g_param_spec_object(faf99966f027a127).("destination", |
| 127 | i18n_pspeccxx . . $ `ags/i18n.h:24:9`!("destination of output"), |
| 128 | i18n_pspeccxx . . $ `ags/i18n.h:24:9`!("The destination where this recall will write the audio signal to"), |
| 129 | AGS_TYPE_AUDIO_SIGNALcxx . . $ `ags/audio/ags_audio_signal.h:33:9`!, |
| 130 | G_PARAM_READABLEcxx . . $ G_PARAM_READABLE. | G_PARAM_WRITABLEcxx . . $ G_PARAM_WRITABLE.); |
| 131 | g_object_class_install_propertycxx . . $ g_object_class_install_property(9c80cb614dbe5a26).(gobject, |
| 132 | PROP_DESTINATIONcxx . . $ PROP_DESTINATION., |
| 133 | param_spec); |
| 134 | |
| 135 | /** |
| 136 | * AgsRecallAudioSignal:source: |
| 137 | * |
| 138 | * The source audio signal |
| 139 | * |
| 140 | * Since: 3.0.0 |
| 141 | */ |
| 142 | param_spec = g_param_spec_objectcxx . . $ g_param_spec_object(faf99966f027a127).("source", |
| 143 | i18n_pspeccxx . . $ `ags/i18n.h:24:9`!("source of input"), |
| 144 | i18n_pspeccxx . . $ `ags/i18n.h:24:9`!("The source where this recall will take the audio signal from"), |
| 145 | AGS_TYPE_AUDIO_SIGNALcxx . . $ `ags/audio/ags_audio_signal.h:33:9`!, |
| 146 | G_PARAM_READABLEcxx . . $ G_PARAM_READABLE. | G_PARAM_WRITABLEcxx . . $ G_PARAM_WRITABLE.); |
| 147 | g_object_class_install_propertycxx . . $ g_object_class_install_property(9c80cb614dbe5a26).(gobject, |
| 148 | PROP_SOURCEcxx . . $ PROP_SOURCE., |
| 149 | param_spec); |
| 150 | } |
| 151 | |
| 152 | void |
| 153 | ags_recall_audio_signal_connectable_interface_initcxx . . $ ags_recall_audio_signal_connectable_interface_init(ded8caecc234b61b).(AgsConnectableInterfacecxx . . $ AgsConnectableInterface# *connectable) |
| 154 | { |
| 155 | ags_recall_audio_signal_parent_connectable_interfacecxx . . $ ags_recall_audio_signal_parent_connectable_interface. = g_type_interface_peek_parentcxx . . $ g_type_interface_peek_parent(9f162e79bfc6c74).(connectable); |
| 156 | } |
| 157 | |
| 158 | void |
| 159 | ags_recall_audio_signal_initcxx . . $ ags_recall_audio_signal_init(64ddb4fcafa38960).(AgsRecallAudioSignalcxx . . $ AgsRecallAudioSignal# *recall_audio_signal) |
| 160 | { |
| 161 | recall_audio_signal->sourcecxx . . $ _AgsRecallAudioSignal#source. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!; |
| 162 | recall_audio_signal->destinationcxx . . $ _AgsRecallAudioSignal#destination. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!; |
| 163 | } |
| 164 | |
| 165 | void |
| 166 | ags_recall_audio_signal_set_propertycxx . . $ ags_recall_audio_signal_set_property(d7c4bb29f36c0dc4).(GObjectcxx . . $ GObject# *gobject, |
| 167 | guintcxx . . $ guint# prop_id, |
| 168 | const GValuecxx . . $ GValue# *value, |
| 169 | GParamSpeccxx . . $ GParamSpec# *param_spec) |
| 170 | { |
| 171 | AgsRecallAudioSignalcxx . . $ AgsRecallAudioSignal# *recall_audio_signal; |
| 172 | |
| 173 | GRecMutexcxx . . $ GRecMutex# *recall_mutex; |
| 174 | |
| 175 | recall_audio_signal = AGS_RECALL_AUDIO_SIGNALcxx . . $ `ags/audio/ags_recall_audio_signal.h:34:9`!(gobject); |
| 176 | |
| 177 | /* get recall mutex */ |
| 178 | recall_mutex = AGS_RECALL_GET_OBJ_MUTEXcxx . . $ `ags/audio/ags_recall.h:49:9`!(recall_audio_signal); |
| 179 | |
| 180 | switch(prop_id){ |
| 181 | case PROP_DESTINATIONcxx . . $ PROP_DESTINATION.: |
| 182 | { |
| 183 | AgsAudioSignalcxx . . $ AgsAudioSignal# *destination; |
| 184 | |
| 185 | destination = (AgsAudioSignalcxx . . $ AgsAudioSignal# *) g_value_get_objectcxx . . $ g_value_get_object(e12dff36056c2cce).(value); |
| 186 | |
| 187 | g_rec_mutex_lockcxx . . $ g_rec_mutex_lock(70e02e1a6dfc5752).(recall_mutex); |
| 188 | |
| 189 | if(recall_audio_signal->destinationcxx . . $ _AgsRecallAudioSignal#destination. == destination){ |
| 190 | g_rec_mutex_unlockcxx . . $ g_rec_mutex_unlock(70e02e1a6dfc5752).(recall_mutex); |
| 191 | |
| 192 | return; |
| 193 | } |
| 194 | |
| 195 | if(recall_audio_signal->destinationcxx . . $ _AgsRecallAudioSignal#destination. != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!){ |
| 196 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(recall_audio_signal->destinationcxx . . $ _AgsRecallAudioSignal#destination.); |
| 197 | } |
| 198 | |
| 199 | if(destination != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!){ |
| 200 | g_object_refcxx . . $ `<external>/1341695927569185362/gobject.h:533:9`!(G_OBJECTcxx . . $ `<external>/1341695927569185362/gobject.h:54:9`!(destination)); |
| 201 | } |
| 202 | |
| 203 | recall_audio_signal->destinationcxx . . $ _AgsRecallAudioSignal#destination. = destination; |
| 204 | |
| 205 | g_rec_mutex_unlockcxx . . $ g_rec_mutex_unlock(70e02e1a6dfc5752).(recall_mutex); |
| 206 | } |
| 207 | break; |
| 208 | case PROP_SOURCEcxx . . $ PROP_SOURCE.: |
| 209 | { |
| 210 | AgsAudioSignalcxx . . $ AgsAudioSignal# *source; |
| 211 | |
| 212 | source = (AgsAudioSignalcxx . . $ AgsAudioSignal# *) g_value_get_objectcxx . . $ g_value_get_object(e12dff36056c2cce).(value); |
| 213 | |
| 214 | g_rec_mutex_lockcxx . . $ g_rec_mutex_lock(70e02e1a6dfc5752).(recall_mutex); |
| 215 | |
| 216 | if(recall_audio_signal->sourcecxx . . $ _AgsRecallAudioSignal#source. == source){ |
| 217 | g_rec_mutex_unlockcxx . . $ g_rec_mutex_unlock(70e02e1a6dfc5752).(recall_mutex); |
| 218 | |
| 219 | return; |
| 220 | } |
| 221 | |
| 222 | if(recall_audio_signal->sourcecxx . . $ _AgsRecallAudioSignal#source. != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!){ |
| 223 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(recall_audio_signal->sourcecxx . . $ _AgsRecallAudioSignal#source.); |
| 224 | } |
| 225 | |
| 226 | if(source != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!){ |
| 227 | g_object_refcxx . . $ `<external>/1341695927569185362/gobject.h:533:9`!(G_OBJECTcxx . . $ `<external>/1341695927569185362/gobject.h:54:9`!(source)); |
| 228 | } |
| 229 | |
| 230 | recall_audio_signal->sourcecxx . . $ _AgsRecallAudioSignal#source. = source; |
| 231 | |
| 232 | g_rec_mutex_unlockcxx . . $ g_rec_mutex_unlock(70e02e1a6dfc5752).(recall_mutex); |
| 233 | } |
| 234 | break; |
| 235 | default: |
| 236 | G_OBJECT_WARN_INVALID_PROPERTY_IDcxx . . $ `<external>/1341695927569185362/gobject.h:690:9`!(gobject, prop_id, param_spec); |
| 237 | break; |
| 238 | } |
| 239 | } |
| 240 | |
| 241 | void |
| 242 | ags_recall_audio_signal_get_propertycxx . . $ ags_recall_audio_signal_get_property(cee2c52f22407c66).(GObjectcxx . . $ GObject# *gobject, |
| 243 | guintcxx . . $ guint# prop_id, |
| 244 | GValuecxx . . $ GValue# *value, |
| 245 | GParamSpeccxx . . $ GParamSpec# *param_spec) |
| 246 | { |
| 247 | AgsRecallAudioSignalcxx . . $ AgsRecallAudioSignal# *recall_audio_signal; |
| 248 | |
| 249 | GRecMutexcxx . . $ GRecMutex# *recall_mutex; |
| 250 | |
| 251 | recall_audio_signal = AGS_RECALL_AUDIO_SIGNALcxx . . $ `ags/audio/ags_recall_audio_signal.h:34:9`!(gobject); |
| 252 | |
| 253 | /* get recall mutex */ |
| 254 | recall_mutex = AGS_RECALL_GET_OBJ_MUTEXcxx . . $ `ags/audio/ags_recall.h:49:9`!(recall_audio_signal); |
| 255 | |
| 256 | switch(prop_id){ |
| 257 | case PROP_DESTINATIONcxx . . $ PROP_DESTINATION.: |
| 258 | { |
| 259 | g_rec_mutex_lockcxx . . $ g_rec_mutex_lock(70e02e1a6dfc5752).(recall_mutex); |
| 260 | |
| 261 | g_value_set_objectcxx . . $ g_value_set_object(e945b84c1e9702f).(value, recall_audio_signal->destinationcxx . . $ _AgsRecallAudioSignal#destination.); |
| 262 | |
| 263 | g_rec_mutex_unlockcxx . . $ g_rec_mutex_unlock(70e02e1a6dfc5752).(recall_mutex); |
| 264 | } |
| 265 | break; |
| 266 | case PROP_SOURCEcxx . . $ PROP_SOURCE.: |
| 267 | { |
| 268 | g_rec_mutex_lockcxx . . $ g_rec_mutex_lock(70e02e1a6dfc5752).(recall_mutex); |
| 269 | |
| 270 | g_value_set_objectcxx . . $ g_value_set_object(e945b84c1e9702f).(value, recall_audio_signal->sourcecxx . . $ _AgsRecallAudioSignal#source.); |
| 271 | |
| 272 | g_rec_mutex_unlockcxx . . $ g_rec_mutex_unlock(70e02e1a6dfc5752).(recall_mutex); |
| 273 | } |
| 274 | break; |
| 275 | default: |
| 276 | G_OBJECT_WARN_INVALID_PROPERTY_IDcxx . . $ `<external>/1341695927569185362/gobject.h:690:9`!(gobject, prop_id, param_spec); |
| 277 | break; |
| 278 | } |
| 279 | } |
| 280 | |
| 281 | void |
| 282 | ags_recall_audio_signal_disposecxx . . $ ags_recall_audio_signal_dispose(6087475fa43034d3).(GObjectcxx . . $ GObject# *gobject) |
| 283 | { |
| 284 | AgsRecallAudioSignalcxx . . $ AgsRecallAudioSignal# *recall_audio_signal; |
| 285 | |
| 286 | recall_audio_signal = AGS_RECALL_AUDIO_SIGNALcxx . . $ `ags/audio/ags_recall_audio_signal.h:34:9`!(gobject); |
| 287 | |
| 288 | /* destination */ |
| 289 | if(recall_audio_signal->destinationcxx . . $ _AgsRecallAudioSignal#destination. != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!){ |
| 290 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(recall_audio_signal->destinationcxx . . $ _AgsRecallAudioSignal#destination.); |
| 291 | |
| 292 | recall_audio_signal->destinationcxx . . $ _AgsRecallAudioSignal#destination. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!; |
| 293 | } |
| 294 | |
| 295 | /* source */ |
| 296 | if(recall_audio_signal->sourcecxx . . $ _AgsRecallAudioSignal#source. != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!){ |
| 297 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(recall_audio_signal->sourcecxx . . $ _AgsRecallAudioSignal#source.); |
| 298 | |
| 299 | recall_audio_signal->sourcecxx . . $ _AgsRecallAudioSignal#source. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!; |
| 300 | } |
| 301 | |
| 302 | /* call parent */ |
| 303 | G_OBJECT_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:61:9`!(ags_recall_audio_signal_parent_class)->disposecxx . . $ _GObjectClass#dispose.(gobject); |
| 304 | } |
| 305 | |
| 306 | void |
| 307 | ags_recall_audio_signal_finalizecxx . . $ ags_recall_audio_signal_finalize(6087475fa43034d3).(GObjectcxx . . $ GObject# *gobject) |
| 308 | { |
| 309 | AgsRecallAudioSignalcxx . . $ AgsRecallAudioSignal# *recall_audio_signal; |
| 310 | |
| 311 | recall_audio_signal = AGS_RECALL_AUDIO_SIGNALcxx . . $ `ags/audio/ags_recall_audio_signal.h:34:9`!(gobject); |
| 312 | |
| 313 | #ifdef AGS_DEBUG |
| 314 | g_message("- recall audio signal %s", G_OBJECT_TYPE_NAME(recall_audio_signal)); |
| 315 | #endif |
| 316 | |
| 317 | /* destination */ |
| 318 | if(recall_audio_signal->destinationcxx . . $ _AgsRecallAudioSignal#destination. != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!){ |
| 319 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(recall_audio_signal->destinationcxx . . $ _AgsRecallAudioSignal#destination.); |
| 320 | } |
| 321 | |
| 322 | /* source */ |
| 323 | if(recall_audio_signal->sourcecxx . . $ _AgsRecallAudioSignal#source. != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!){ |
| 324 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(recall_audio_signal->sourcecxx . . $ _AgsRecallAudioSignal#source.); |
| 325 | } |
| 326 | |
| 327 | /* call parent */ |
| 328 | G_OBJECT_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:61:9`!(ags_recall_audio_signal_parent_class)->finalizecxx . . $ _GObjectClass#finalize.(gobject); |
| 329 | } |
| 330 | |
| 331 | /** |
| 332 | * ags_recall_audio_signal_new: |
| 333 | * |
| 334 | * Creates an #AgsRecallAudioSignal. |
| 335 | * |
| 336 | * Returns: a new #AgsRecallAudioSignal. |
| 337 | * |
| 338 | * Since: 3.0.0 |
| 339 | */ |
| 340 | AgsRecallAudioSignalcxx . . $ AgsRecallAudioSignal#* |
| 341 | ags_recall_audio_signal_newcxx . . $ ags_recall_audio_signal_new(8ec381288b65fa2b).() |
| 342 | { |
| 343 | AgsRecallAudioSignalcxx . . $ AgsRecallAudioSignal# *recall_audio_signal; |
| 344 | |
| 345 | recall_audio_signal = (AgsRecallAudioSignalcxx . . $ AgsRecallAudioSignal# *) g_object_newcxx . . $ g_object_new(8485fe61b4be4c78).(AGS_TYPE_RECALL_AUDIO_SIGNALcxx . . $ `ags/audio/ags_recall_audio_signal.h:33:9`!, |
| 346 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!); |
| 347 | |
| 348 | return(recall_audio_signal); |
| 349 | } |