| 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 | #include <ags/audio/fx/ags_fx_high_pass_channel.h>cxx . . $ `<file>/ags/audio/fx/ags_fx_high_pass_channel.h`/ |
| 21 | |
| 22 | #include <ags/plugin/ags_plugin_port.h>cxx . . $ `<file>/ags/plugin/ags_plugin_port.h`/ |
| 23 | |
| 24 | #include <ags/i18n.h>cxx . . $ `<file>/ags/i18n.h`/ |
| 25 | |
| 26 | void ags_fx_high_pass_channel_class_initcxx . . $ ags_fx_high_pass_channel_class_init(4b0856d56ed11fc3).(AgsFxHighPassChannelClasscxx . . $ AgsFxHighPassChannelClass# *fx_high_pass_channel); |
| 27 | void ags_fx_high_pass_channel_initcxx . . $ ags_fx_high_pass_channel_init(60896e88d5adf409).(AgsFxHighPassChannelcxx . . $ AgsFxHighPassChannel# *fx_high_pass_channel); |
| 28 | void ags_fx_high_pass_channel_set_propertycxx . . $ ags_fx_high_pass_channel_set_property(d7c4bb29f36c0dc4).(GObjectcxx . . $ GObject# *gobject, |
| 29 | guintcxx . . $ guint# prop_id, |
| 30 | const GValuecxx . . $ GValue# *value, |
| 31 | GParamSpeccxx . . $ GParamSpec# *param_spec); |
| 32 | void ags_fx_high_pass_channel_get_propertycxx . . $ ags_fx_high_pass_channel_get_property(cee2c52f22407c66).(GObjectcxx . . $ GObject# *gobject, |
| 33 | guintcxx . . $ guint# prop_id, |
| 34 | GValuecxx . . $ GValue# *value, |
| 35 | GParamSpeccxx . . $ GParamSpec# *param_spec); |
| 36 | void ags_fx_high_pass_channel_disposecxx . . $ ags_fx_high_pass_channel_dispose(6087475fa43034d3).(GObjectcxx . . $ GObject# *gobject); |
| 37 | void ags_fx_high_pass_channel_finalizecxx . . $ ags_fx_high_pass_channel_finalize(6087475fa43034d3).(GObjectcxx . . $ GObject# *gobject); |
| 38 | |
| 39 | static AgsPluginPortcxx . . $ AgsPluginPort#* ags_fx_high_pass_channel_get_enabled_plugin_portcxx . . $ ags_fx_high_pass_channel_get_enabled_plugin_port(34b69cdf8fd7ff84).(); |
| 40 | static AgsPluginPortcxx . . $ AgsPluginPort#* ags_fx_high_pass_channel_get_q_lin_plugin_portcxx . . $ ags_fx_high_pass_channel_get_q_lin_plugin_port(34b69cdf8fd7ff84).(); |
| 41 | static AgsPluginPortcxx . . $ AgsPluginPort#* ags_fx_high_pass_channel_get_filter_gain_plugin_portcxx . . $ ags_fx_high_pass_channel_get_filter_gain_plugin_port(34b69cdf8fd7ff84).(); |
| 42 | |
| 43 | /** |
| 44 | * SECTION:ags_fx_high_pass_channel |
| 45 | * @short_description: fx high pass channel |
| 46 | * @title: AgsFxHighPassChannel |
| 47 | * @section_id: |
| 48 | * @include: ags/audio/fx/ags_fx_high_pass_channel.h |
| 49 | * |
| 50 | * The #AgsFxHighPassChannel class provides ports to the effect processor. |
| 51 | */ |
| 52 | |
| 53 | static gpointercxx . . $ gpointer# ags_fx_high_pass_channel_parent_classcxx . . $ ags_fx_high_pass_channel_parent_class. = NULLcxx . . $ `<external>/15298297234472979974/stddef.h:419:9`!; |
| 54 | |
| 55 | const gcharcxx . . $ gchar# *ags_fx_high_pass_channel_plugin_namecxx . . $ ags_fx_high_pass_channel_plugin_name. = "ags-fx-high-pass"; |
| 56 | |
| 57 | const gcharcxx . . $ gchar#* ags_fx_high_pass_channel_specifiercxx . . $ ags_fx_high_pass_channel_specifier.[] = { |
| 58 | "./enabled[0]", |
| 59 | "./q-lin[0]", |
| 60 | "./filter-gain[0]", |
| 61 | NULLcxx . . $ `<external>/15298297234472979974/stddef.h:419:9`!, |
| 62 | }; |
| 63 | |
| 64 | const gcharcxx . . $ gchar#* ags_fx_high_pass_channel_control_portcxx . . $ ags_fx_high_pass_channel_control_port.[] = { |
| 65 | "1/3", |
| 66 | "2/3", |
| 67 | "3/3", |
| 68 | NULLcxx . . $ `<external>/15298297234472979974/stddef.h:419:9`!, |
| 69 | }; |
| 70 | |
| 71 | enumcxx . . $ $anonymous_type_c4c91e22a520dd20_0#{ |
| 72 | PROP_0cxx . . $ PROP_0., |
| 73 | PROP_ENABLEDcxx . . $ PROP_ENABLED., |
| 74 | PROP_Q_LINcxx . . $ PROP_Q_LIN., |
| 75 | PROP_FILTER_GAINcxx . . $ PROP_FILTER_GAIN., |
| 76 | }; |
| 77 | |
| 78 | GTypecxx . . $ GType# |
| 79 | ags_fx_high_pass_channel_get_typecxx . . $ ags_fx_high_pass_channel_get_type(7b3bcd0168edf51f).() |
| 80 | { |
| 81 | static gsizecxx . . $ gsize# g_define_type_id__static = 0; |
| 82 | |
| 83 | if(g_once_init_entercxx . . $ `<external>/457917468643292165/gthread.h:270:10`!(&g_define_type_id__static)){ |
| 84 | GTypecxx . . $ GType# ags_type_fx_high_pass_channel = 0; |
| 85 | |
| 86 | static const GTypeInfocxx . . $ GTypeInfo# ags_fx_high_pass_channel_info = { |
| 87 | sizeof (AgsFxHighPassChannelClasscxx . . $ AgsFxHighPassChannelClass#), |
| 88 | NULLcxx . . $ `<external>/15298297234472979974/stddef.h:419:9`!, /* base_init */ |
| 89 | NULLcxx . . $ `<external>/15298297234472979974/stddef.h:419:9`!, /* base_finalize */ |
| 90 | (GClassInitFunccxx . . $ GClassInitFunc#) ags_fx_high_pass_channel_class_initcxx . . $ ags_fx_high_pass_channel_class_init(4b0856d56ed11fc3)., |
| 91 | NULLcxx . . $ `<external>/15298297234472979974/stddef.h:419:9`!, /* class_finalize */ |
| 92 | NULLcxx . . $ `<external>/15298297234472979974/stddef.h:419:9`!, /* class_channel */ |
| 93 | sizeof (AgsFxHighPassChannelcxx . . $ AgsFxHighPassChannel#), |
| 94 | 0, /* n_preallocs */ |
| 95 | (GInstanceInitFunccxx . . $ GInstanceInitFunc#) ags_fx_high_pass_channel_initcxx . . $ ags_fx_high_pass_channel_init(60896e88d5adf409)., |
| 96 | }; |
| 97 | |
| 98 | ags_type_fx_high_pass_channel = g_type_register_staticcxx . . $ g_type_register_static(805a40cfa272e950).(AGS_TYPE_RECALL_CHANNELcxx . . $ `ags/audio/ags_recall_channel.h:34:9`!, |
| 99 | "AgsFxHighPassChannel", |
| 100 | &ags_fx_high_pass_channel_info, |
| 101 | 0); |
| 102 | |
| 103 | g_once_init_leavecxx . . $ `<external>/457917468643292165/gthread.h:277:10`!(&g_define_type_id__static, ags_type_fx_high_pass_channel); |
| 104 | } |
| 105 | |
| 106 | return(g_define_type_id__static); |
| 107 | } |
| 108 | |
| 109 | void |
| 110 | ags_fx_high_pass_channel_class_initcxx . . $ ags_fx_high_pass_channel_class_init(4b0856d56ed11fc3).(AgsFxHighPassChannelClasscxx . . $ AgsFxHighPassChannelClass# *fx_high_pass_channel) |
| 111 | { |
| 112 | GObjectClasscxx . . $ GObjectClass# *gobject; |
| 113 | |
| 114 | GParamSpeccxx . . $ GParamSpec# *param_spec; |
| 115 | |
| 116 | ags_fx_high_pass_channel_parent_classcxx . . $ ags_fx_high_pass_channel_parent_class. = g_type_class_peek_parentcxx . . $ g_type_class_peek_parent(9f162e79bfc6c74).(fx_high_pass_channel); |
| 117 | |
| 118 | /* GObjectClass */ |
| 119 | gobject = (GObjectClasscxx . . $ GObjectClass# *) fx_high_pass_channel; |
| 120 | |
| 121 | gobject->set_propertycxx . . $ _GObjectClass#set_property. = ags_fx_high_pass_channel_set_propertycxx . . $ ags_fx_high_pass_channel_set_property(d7c4bb29f36c0dc4).; |
| 122 | gobject->get_propertycxx . . $ _GObjectClass#get_property. = ags_fx_high_pass_channel_get_propertycxx . . $ ags_fx_high_pass_channel_get_property(cee2c52f22407c66).; |
| 123 | |
| 124 | gobject->disposecxx . . $ _GObjectClass#dispose. = ags_fx_high_pass_channel_disposecxx . . $ ags_fx_high_pass_channel_dispose(6087475fa43034d3).; |
| 125 | gobject->finalizecxx . . $ _GObjectClass#finalize. = ags_fx_high_pass_channel_finalizecxx . . $ ags_fx_high_pass_channel_finalize(6087475fa43034d3).; |
| 126 | |
| 127 | /* properties */ |
| 128 | /** |
| 129 | * AgsFxHighPassChannel:enabled: |
| 130 | * |
| 131 | * The enabled port. |
| 132 | * |
| 133 | * Since: 3.14.0 |
| 134 | */ |
| 135 | param_spec = g_param_spec_objectcxx . . $ g_param_spec_object(faf99966f027a127).("enabled", |
| 136 | i18n_pspeccxx . . $ `ags/i18n.h:24:9`!("enabled of recall"), |
| 137 | i18n_pspeccxx . . $ `ags/i18n.h:24:9`!("The recall's enabled"), |
| 138 | AGS_TYPE_PORTcxx . . $ `ags/audio/ags_port.h:32:9`!, |
| 139 | G_PARAM_READABLEcxx . . $ G_PARAM_READABLE. | G_PARAM_WRITABLEcxx . . $ G_PARAM_WRITABLE.); |
| 140 | g_object_class_install_propertycxx . . $ g_object_class_install_property(9c80cb614dbe5a26).(gobject, |
| 141 | PROP_ENABLEDcxx . . $ PROP_ENABLED., |
| 142 | param_spec); |
| 143 | |
| 144 | /** |
| 145 | * AgsFxHighPassChannel:q-lin: |
| 146 | * |
| 147 | * The q-lin port. |
| 148 | * |
| 149 | * Since: 3.13.0 |
| 150 | */ |
| 151 | param_spec = g_param_spec_objectcxx . . $ g_param_spec_object(faf99966f027a127).("q-lin", |
| 152 | i18n_pspeccxx . . $ `ags/i18n.h:24:9`!("q-lin of recall"), |
| 153 | i18n_pspeccxx . . $ `ags/i18n.h:24:9`!("The recall's q-lin"), |
| 154 | AGS_TYPE_PORTcxx . . $ `ags/audio/ags_port.h:32:9`!, |
| 155 | G_PARAM_READABLEcxx . . $ G_PARAM_READABLE. | G_PARAM_WRITABLEcxx . . $ G_PARAM_WRITABLE.); |
| 156 | g_object_class_install_propertycxx . . $ g_object_class_install_property(9c80cb614dbe5a26).(gobject, |
| 157 | PROP_Q_LINcxx . . $ PROP_Q_LIN., |
| 158 | param_spec); |
| 159 | |
| 160 | /** |
| 161 | * AgsFxHighPassChannel:filter-gain: |
| 162 | * |
| 163 | * The filter gain port. |
| 164 | * |
| 165 | * Since: 3.13.0 |
| 166 | */ |
| 167 | param_spec = g_param_spec_objectcxx . . $ g_param_spec_object(faf99966f027a127).("filter-gain", |
| 168 | i18n_pspeccxx . . $ `ags/i18n.h:24:9`!("filter gain of recall"), |
| 169 | i18n_pspeccxx . . $ `ags/i18n.h:24:9`!("The recall's filter gain"), |
| 170 | AGS_TYPE_PORTcxx . . $ `ags/audio/ags_port.h:32:9`!, |
| 171 | G_PARAM_READABLEcxx . . $ G_PARAM_READABLE. | G_PARAM_WRITABLEcxx . . $ G_PARAM_WRITABLE.); |
| 172 | g_object_class_install_propertycxx . . $ g_object_class_install_property(9c80cb614dbe5a26).(gobject, |
| 173 | PROP_FILTER_GAINcxx . . $ PROP_FILTER_GAIN., |
| 174 | param_spec); |
| 175 | } |
| 176 | |
| 177 | void |
| 178 | ags_fx_high_pass_channel_initcxx . . $ ags_fx_high_pass_channel_init(60896e88d5adf409).(AgsFxHighPassChannelcxx . . $ AgsFxHighPassChannel# *fx_high_pass_channel) |
| 179 | { |
| 180 | AGS_RECALLcxx . . $ `ags/audio/ags_recall.h:41:9`!(fx_high_pass_channel)->namecxx . . $ _AgsRecall#name. = "ags-fx-high-pass"; |
| 181 | AGS_RECALLcxx . . $ `ags/audio/ags_recall.h:41:9`!(fx_high_pass_channel)->versioncxx . . $ _AgsRecall#version. = AGS_RECALL_DEFAULT_VERSIONcxx . . $ `ags/audio/ags_recall.h:137:9`!; |
| 182 | AGS_RECALLcxx . . $ `ags/audio/ags_recall.h:41:9`!(fx_high_pass_channel)->build_idcxx . . $ _AgsRecall#build_id. = AGS_RECALL_DEFAULT_BUILD_IDcxx . . $ `ags/audio/ags_recall.h:138:9`!; |
| 183 | AGS_RECALLcxx . . $ `ags/audio/ags_recall.h:41:9`!(fx_high_pass_channel)->xml_typecxx . . $ _AgsRecall#xml_type. = "ags-fx-high-pass-channel"; |
| 184 | |
| 185 | /* enabled */ |
| 186 | fx_high_pass_channel->enabledcxx . . $ _AgsFxHighPassChannel#enabled. = g_object_newcxx . . $ g_object_new(8485fe61b4be4c78).(AGS_TYPE_PORTcxx . . $ `ags/audio/ags_port.h:32:9`!, |
| 187 | "plugin-name", ags_fx_high_pass_channel_plugin_namecxx . . $ ags_fx_high_pass_channel_plugin_name., |
| 188 | "specifier", "./enabled[0]", |
| 189 | "control-port", "1/3", |
| 190 | "port-value-is-pointer", FALSEcxx . . $ `<external>/12741050725406041920/gmacros.h:967:9`!, |
| 191 | "port-value-type", G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!, |
| 192 | "port-value-size", sizeof(gfloatcxx . . $ gfloat#), |
| 193 | "port-value-length", 1, |
| 194 | NULLcxx . . $ `<external>/15298297234472979974/stddef.h:419:9`!); |
| 195 | |
| 196 | fx_high_pass_channel->enabledcxx . . $ _AgsFxHighPassChannel#enabled.->port_valuecxx . . $ _AgsPort#port_value..ags_port_floatcxx . . $ _AgsPortValue#ags_port_float. = (gfloatcxx . . $ gfloat#) FALSEcxx . . $ `<external>/12741050725406041920/gmacros.h:967:9`!; |
| 197 | |
| 198 | g_object_setcxx . . $ g_object_set(1ac911bdc4e9a14d).(fx_high_pass_channel->enabledcxx . . $ _AgsFxHighPassChannel#enabled., |
| 199 | "plugin-port", ags_fx_high_pass_channel_get_enabled_plugin_portcxx . . $ ags_fx_high_pass_channel_get_enabled_plugin_port(34b69cdf8fd7ff84).(), |
| 200 | NULLcxx . . $ `<external>/15298297234472979974/stddef.h:419:9`!); |
| 201 | |
| 202 | ags_recall_add_portcxx . . $ ags_recall_add_port(6ead69b5866ab1f9).((AgsRecallcxx . . $ AgsRecall# *) fx_high_pass_channel, |
| 203 | fx_high_pass_channel->enabledcxx . . $ _AgsFxHighPassChannel#enabled.); |
| 204 | |
| 205 | /* q-lin */ |
| 206 | fx_high_pass_channel->q_lincxx . . $ _AgsFxHighPassChannel#q_lin. = g_object_newcxx . . $ g_object_new(8485fe61b4be4c78).(AGS_TYPE_PORTcxx . . $ `ags/audio/ags_port.h:32:9`!, |
| 207 | "plugin-name", ags_fx_high_pass_channel_plugin_namecxx . . $ ags_fx_high_pass_channel_plugin_name., |
| 208 | "specifier", "./q-lin[0]", |
| 209 | "control-port", "2/3", |
| 210 | "port-value-is-pointer", FALSEcxx . . $ `<external>/12741050725406041920/gmacros.h:967:9`!, |
| 211 | "port-value-type", G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!, |
| 212 | "port-value-size", sizeof(gfloatcxx . . $ gfloat#), |
| 213 | "port-value-length", 1, |
| 214 | NULLcxx . . $ `<external>/15298297234472979974/stddef.h:419:9`!); |
| 215 | |
| 216 | fx_high_pass_channel->q_lincxx . . $ _AgsFxHighPassChannel#q_lin.->port_valuecxx . . $ _AgsPort#port_value..ags_port_floatcxx . . $ _AgsPortValue#ags_port_float. = (gfloatcxx . . $ gfloat#) 0.0; |
| 217 | |
| 218 | g_object_setcxx . . $ g_object_set(1ac911bdc4e9a14d).(fx_high_pass_channel->q_lincxx . . $ _AgsFxHighPassChannel#q_lin., |
| 219 | "plugin-port", ags_fx_high_pass_channel_get_q_lin_plugin_portcxx . . $ ags_fx_high_pass_channel_get_q_lin_plugin_port(34b69cdf8fd7ff84).(), |
| 220 | NULLcxx . . $ `<external>/15298297234472979974/stddef.h:419:9`!); |
| 221 | |
| 222 | ags_recall_add_portcxx . . $ ags_recall_add_port(6ead69b5866ab1f9).((AgsRecallcxx . . $ AgsRecall# *) fx_high_pass_channel, |
| 223 | fx_high_pass_channel->q_lincxx . . $ _AgsFxHighPassChannel#q_lin.); |
| 224 | |
| 225 | /* filter gain */ |
| 226 | fx_high_pass_channel->filter_gaincxx . . $ _AgsFxHighPassChannel#filter_gain. = g_object_newcxx . . $ g_object_new(8485fe61b4be4c78).(AGS_TYPE_PORTcxx . . $ `ags/audio/ags_port.h:32:9`!, |
| 227 | "plugin-name", ags_fx_high_pass_channel_plugin_namecxx . . $ ags_fx_high_pass_channel_plugin_name., |
| 228 | "specifier", "./filter-gain[0]", |
| 229 | "control-port", "3/3", |
| 230 | "port-value-is-pointer", FALSEcxx . . $ `<external>/12741050725406041920/gmacros.h:967:9`!, |
| 231 | "port-value-type", G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!, |
| 232 | "port-value-size", sizeof(gfloatcxx . . $ gfloat#), |
| 233 | "port-value-length", 1, |
| 234 | NULLcxx . . $ `<external>/15298297234472979974/stddef.h:419:9`!); |
| 235 | |
| 236 | fx_high_pass_channel->filter_gaincxx . . $ _AgsFxHighPassChannel#filter_gain.->port_valuecxx . . $ _AgsPort#port_value..ags_port_floatcxx . . $ _AgsPortValue#ags_port_float. = (gfloatcxx . . $ gfloat#) 1.0; |
| 237 | |
| 238 | g_object_setcxx . . $ g_object_set(1ac911bdc4e9a14d).(fx_high_pass_channel->filter_gaincxx . . $ _AgsFxHighPassChannel#filter_gain., |
| 239 | "plugin-port", ags_fx_high_pass_channel_get_filter_gain_plugin_portcxx . . $ ags_fx_high_pass_channel_get_filter_gain_plugin_port(34b69cdf8fd7ff84).(), |
| 240 | NULLcxx . . $ `<external>/15298297234472979974/stddef.h:419:9`!); |
| 241 | |
| 242 | ags_recall_add_portcxx . . $ ags_recall_add_port(6ead69b5866ab1f9).((AgsRecallcxx . . $ AgsRecall# *) fx_high_pass_channel, |
| 243 | fx_high_pass_channel->filter_gaincxx . . $ _AgsFxHighPassChannel#filter_gain.); |
| 244 | } |
| 245 | |
| 246 | void |
| 247 | ags_fx_high_pass_channel_set_propertycxx . . $ ags_fx_high_pass_channel_set_property(d7c4bb29f36c0dc4).(GObjectcxx . . $ GObject# *gobject, |
| 248 | guintcxx . . $ guint# prop_id, |
| 249 | const GValuecxx . . $ GValue# *value, |
| 250 | GParamSpeccxx . . $ GParamSpec# *param_spec) |
| 251 | { |
| 252 | AgsFxHighPassChannelcxx . . $ AgsFxHighPassChannel# *fx_high_pass_channel; |
| 253 | |
| 254 | GRecMutexcxx . . $ GRecMutex# *recall_mutex; |
| 255 | |
| 256 | fx_high_pass_channel = AGS_FX_HIGH_PASS_CHANNELcxx . . $ `ags/audio/fx/ags_fx_high_pass_channel.h:34:9`!(gobject); |
| 257 | |
| 258 | /* get recall mutex */ |
| 259 | recall_mutex = AGS_RECALL_GET_OBJ_MUTEXcxx . . $ `ags/audio/ags_recall.h:49:9`!(fx_high_pass_channel); |
| 260 | |
| 261 | switch(prop_id){ |
| 262 | case PROP_ENABLEDcxx . . $ PROP_ENABLED.: |
| 263 | { |
| 264 | AgsPortcxx . . $ AgsPort# *port; |
| 265 | |
| 266 | port = (AgsPortcxx . . $ AgsPort# *) g_value_get_objectcxx . . $ g_value_get_object(e12dff36056c2cce).(value); |
| 267 | |
| 268 | g_rec_mutex_lockcxx . . $ g_rec_mutex_lock(70e02e1a6dfc5752).(recall_mutex); |
| 269 | |
| 270 | if(port == fx_high_pass_channel->enabledcxx . . $ _AgsFxHighPassChannel#enabled.){ |
| 271 | g_rec_mutex_unlockcxx . . $ g_rec_mutex_unlock(70e02e1a6dfc5752).(recall_mutex); |
| 272 | |
| 273 | return; |
| 274 | } |
| 275 | |
| 276 | if(fx_high_pass_channel->enabledcxx . . $ _AgsFxHighPassChannel#enabled. != NULLcxx . . $ `<external>/15298297234472979974/stddef.h:419:9`!){ |
| 277 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(G_OBJECTcxx . . $ `<external>/1341695927569185362/gobject.h:54:9`!(fx_high_pass_channel->enabled)); |
| 278 | } |
| 279 | |
| 280 | if(port != NULLcxx . . $ `<external>/15298297234472979974/stddef.h:419:9`!){ |
| 281 | g_object_refcxx . . $ `<external>/1341695927569185362/gobject.h:533:9`!(G_OBJECTcxx . . $ `<external>/1341695927569185362/gobject.h:54:9`!(port)); |
| 282 | } |
| 283 | |
| 284 | fx_high_pass_channel->enabledcxx . . $ _AgsFxHighPassChannel#enabled. = port; |
| 285 | |
| 286 | g_rec_mutex_unlockcxx . . $ g_rec_mutex_unlock(70e02e1a6dfc5752).(recall_mutex); |
| 287 | } |
| 288 | break; |
| 289 | case PROP_Q_LINcxx . . $ PROP_Q_LIN.: |
| 290 | { |
| 291 | AgsPortcxx . . $ AgsPort# *port; |
| 292 | |
| 293 | port = (AgsPortcxx . . $ AgsPort# *) g_value_get_objectcxx . . $ g_value_get_object(e12dff36056c2cce).(value); |
| 294 | |
| 295 | g_rec_mutex_lockcxx . . $ g_rec_mutex_lock(70e02e1a6dfc5752).(recall_mutex); |
| 296 | |
| 297 | if(port == fx_high_pass_channel->q_lincxx . . $ _AgsFxHighPassChannel#q_lin.){ |
| 298 | g_rec_mutex_unlockcxx . . $ g_rec_mutex_unlock(70e02e1a6dfc5752).(recall_mutex); |
| 299 | |
| 300 | return; |
| 301 | } |
| 302 | |
| 303 | if(fx_high_pass_channel->q_lincxx . . $ _AgsFxHighPassChannel#q_lin. != NULLcxx . . $ `<external>/15298297234472979974/stddef.h:419:9`!){ |
| 304 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(G_OBJECTcxx . . $ `<external>/1341695927569185362/gobject.h:54:9`!(fx_high_pass_channel->q_lin)); |
| 305 | } |
| 306 | |
| 307 | if(port != NULLcxx . . $ `<external>/15298297234472979974/stddef.h:419:9`!){ |
| 308 | g_object_refcxx . . $ `<external>/1341695927569185362/gobject.h:533:9`!(G_OBJECTcxx . . $ `<external>/1341695927569185362/gobject.h:54:9`!(port)); |
| 309 | } |
| 310 | |
| 311 | fx_high_pass_channel->q_lincxx . . $ _AgsFxHighPassChannel#q_lin. = port; |
| 312 | |
| 313 | g_rec_mutex_unlockcxx . . $ g_rec_mutex_unlock(70e02e1a6dfc5752).(recall_mutex); |
| 314 | } |
| 315 | break; |
| 316 | case PROP_FILTER_GAINcxx . . $ PROP_FILTER_GAIN.: |
| 317 | { |
| 318 | AgsPortcxx . . $ AgsPort# *port; |
| 319 | |
| 320 | port = (AgsPortcxx . . $ AgsPort# *) g_value_get_objectcxx . . $ g_value_get_object(e12dff36056c2cce).(value); |
| 321 | |
| 322 | g_rec_mutex_lockcxx . . $ g_rec_mutex_lock(70e02e1a6dfc5752).(recall_mutex); |
| 323 | |
| 324 | if(port == fx_high_pass_channel->filter_gaincxx . . $ _AgsFxHighPassChannel#filter_gain.){ |
| 325 | g_rec_mutex_unlockcxx . . $ g_rec_mutex_unlock(70e02e1a6dfc5752).(recall_mutex); |
| 326 | |
| 327 | return; |
| 328 | } |
| 329 | |
| 330 | if(fx_high_pass_channel->filter_gaincxx . . $ _AgsFxHighPassChannel#filter_gain. != NULLcxx . . $ `<external>/15298297234472979974/stddef.h:419:9`!){ |
| 331 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(G_OBJECTcxx . . $ `<external>/1341695927569185362/gobject.h:54:9`!(fx_high_pass_channel->filter_gain)); |
| 332 | } |
| 333 | |
| 334 | if(port != NULLcxx . . $ `<external>/15298297234472979974/stddef.h:419:9`!){ |
| 335 | g_object_refcxx . . $ `<external>/1341695927569185362/gobject.h:533:9`!(G_OBJECTcxx . . $ `<external>/1341695927569185362/gobject.h:54:9`!(port)); |
| 336 | } |
| 337 | |
| 338 | fx_high_pass_channel->filter_gaincxx . . $ _AgsFxHighPassChannel#filter_gain. = port; |
| 339 | |
| 340 | g_rec_mutex_unlockcxx . . $ g_rec_mutex_unlock(70e02e1a6dfc5752).(recall_mutex); |
| 341 | } |
| 342 | break; |
| 343 | default: |
| 344 | G_OBJECT_WARN_INVALID_PROPERTY_IDcxx . . $ `<external>/1341695927569185362/gobject.h:690:9`!(gobject, prop_id, param_spec); |
| 345 | break; |
| 346 | } |
| 347 | } |
| 348 | |
| 349 | void |
| 350 | ags_fx_high_pass_channel_get_propertycxx . . $ ags_fx_high_pass_channel_get_property(cee2c52f22407c66).(GObjectcxx . . $ GObject# *gobject, |
| 351 | guintcxx . . $ guint# prop_id, |
| 352 | GValuecxx . . $ GValue# *value, |
| 353 | GParamSpeccxx . . $ GParamSpec# *param_spec) |
| 354 | { |
| 355 | AgsFxHighPassChannelcxx . . $ AgsFxHighPassChannel# *fx_high_pass_channel; |
| 356 | |
| 357 | GRecMutexcxx . . $ GRecMutex# *recall_mutex; |
| 358 | |
| 359 | fx_high_pass_channel = AGS_FX_HIGH_PASS_CHANNELcxx . . $ `ags/audio/fx/ags_fx_high_pass_channel.h:34:9`!(gobject); |
| 360 | |
| 361 | /* get recall mutex */ |
| 362 | recall_mutex = AGS_RECALL_GET_OBJ_MUTEXcxx . . $ `ags/audio/ags_recall.h:49:9`!(fx_high_pass_channel); |
| 363 | |
| 364 | switch(prop_id){ |
| 365 | case PROP_ENABLEDcxx . . $ PROP_ENABLED.: |
| 366 | { |
| 367 | g_rec_mutex_lockcxx . . $ g_rec_mutex_lock(70e02e1a6dfc5752).(recall_mutex); |
| 368 | |
| 369 | g_value_set_objectcxx . . $ g_value_set_object(e945b84c1e9702f).(value, fx_high_pass_channel->enabledcxx . . $ _AgsFxHighPassChannel#enabled.); |
| 370 | |
| 371 | g_rec_mutex_unlockcxx . . $ g_rec_mutex_unlock(70e02e1a6dfc5752).(recall_mutex); |
| 372 | } |
| 373 | break; |
| 374 | case PROP_Q_LINcxx . . $ PROP_Q_LIN.: |
| 375 | { |
| 376 | g_rec_mutex_lockcxx . . $ g_rec_mutex_lock(70e02e1a6dfc5752).(recall_mutex); |
| 377 | |
| 378 | g_value_set_objectcxx . . $ g_value_set_object(e945b84c1e9702f).(value, fx_high_pass_channel->q_lincxx . . $ _AgsFxHighPassChannel#q_lin.); |
| 379 | |
| 380 | g_rec_mutex_unlockcxx . . $ g_rec_mutex_unlock(70e02e1a6dfc5752).(recall_mutex); |
| 381 | } |
| 382 | break; |
| 383 | case PROP_FILTER_GAINcxx . . $ PROP_FILTER_GAIN.: |
| 384 | { |
| 385 | g_rec_mutex_lockcxx . . $ g_rec_mutex_lock(70e02e1a6dfc5752).(recall_mutex); |
| 386 | |
| 387 | g_value_set_objectcxx . . $ g_value_set_object(e945b84c1e9702f).(value, fx_high_pass_channel->filter_gaincxx . . $ _AgsFxHighPassChannel#filter_gain.); |
| 388 | |
| 389 | g_rec_mutex_unlockcxx . . $ g_rec_mutex_unlock(70e02e1a6dfc5752).(recall_mutex); |
| 390 | } |
| 391 | break; |
| 392 | default: |
| 393 | G_OBJECT_WARN_INVALID_PROPERTY_IDcxx . . $ `<external>/1341695927569185362/gobject.h:690:9`!(gobject, prop_id, param_spec); |
| 394 | break; |
| 395 | } |
| 396 | } |
| 397 | |
| 398 | void |
| 399 | ags_fx_high_pass_channel_disposecxx . . $ ags_fx_high_pass_channel_dispose(6087475fa43034d3).(GObjectcxx . . $ GObject# *gobject) |
| 400 | { |
| 401 | AgsFxHighPassChannelcxx . . $ AgsFxHighPassChannel# *fx_high_pass_channel; |
| 402 | |
| 403 | fx_high_pass_channel = AGS_FX_HIGH_PASS_CHANNELcxx . . $ `ags/audio/fx/ags_fx_high_pass_channel.h:34:9`!(gobject); |
| 404 | |
| 405 | /* enabled */ |
| 406 | if(fx_high_pass_channel->enabledcxx . . $ _AgsFxHighPassChannel#enabled. != NULLcxx . . $ `<external>/15298297234472979974/stddef.h:419:9`!){ |
| 407 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(G_OBJECTcxx . . $ `<external>/1341695927569185362/gobject.h:54:9`!(fx_high_pass_channel->enabled)); |
| 408 | |
| 409 | fx_high_pass_channel->enabledcxx . . $ _AgsFxHighPassChannel#enabled. = NULLcxx . . $ `<external>/15298297234472979974/stddef.h:419:9`!; |
| 410 | } |
| 411 | |
| 412 | /* q-lin */ |
| 413 | if(fx_high_pass_channel->q_lincxx . . $ _AgsFxHighPassChannel#q_lin. != NULLcxx . . $ `<external>/15298297234472979974/stddef.h:419:9`!){ |
| 414 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(G_OBJECTcxx . . $ `<external>/1341695927569185362/gobject.h:54:9`!(fx_high_pass_channel->q_lin)); |
| 415 | |
| 416 | fx_high_pass_channel->q_lincxx . . $ _AgsFxHighPassChannel#q_lin. = NULLcxx . . $ `<external>/15298297234472979974/stddef.h:419:9`!; |
| 417 | } |
| 418 | |
| 419 | /* filter gain */ |
| 420 | if(fx_high_pass_channel->filter_gaincxx . . $ _AgsFxHighPassChannel#filter_gain. != NULLcxx . . $ `<external>/15298297234472979974/stddef.h:419:9`!){ |
| 421 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(G_OBJECTcxx . . $ `<external>/1341695927569185362/gobject.h:54:9`!(fx_high_pass_channel->filter_gain)); |
| 422 | |
| 423 | fx_high_pass_channel->filter_gaincxx . . $ _AgsFxHighPassChannel#filter_gain. = NULLcxx . . $ `<external>/15298297234472979974/stddef.h:419:9`!; |
| 424 | } |
| 425 | |
| 426 | /* call parent */ |
| 427 | G_OBJECT_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:61:9`!(ags_fx_high_pass_channel_parent_class)->disposecxx . . $ _GObjectClass#dispose.(gobject); |
| 428 | } |
| 429 | |
| 430 | void |
| 431 | ags_fx_high_pass_channel_finalizecxx . . $ ags_fx_high_pass_channel_finalize(6087475fa43034d3).(GObjectcxx . . $ GObject# *gobject) |
| 432 | { |
| 433 | AgsFxHighPassChannelcxx . . $ AgsFxHighPassChannel# *fx_high_pass_channel; |
| 434 | |
| 435 | fx_high_pass_channel = AGS_FX_HIGH_PASS_CHANNELcxx . . $ `ags/audio/fx/ags_fx_high_pass_channel.h:34:9`!(gobject); |
| 436 | |
| 437 | /* enabled */ |
| 438 | if(fx_high_pass_channel->enabledcxx . . $ _AgsFxHighPassChannel#enabled. != NULLcxx . . $ `<external>/15298297234472979974/stddef.h:419:9`!){ |
| 439 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(G_OBJECTcxx . . $ `<external>/1341695927569185362/gobject.h:54:9`!(fx_high_pass_channel->enabled)); |
| 440 | } |
| 441 | |
| 442 | /* q-lin */ |
| 443 | if(fx_high_pass_channel->q_lincxx . . $ _AgsFxHighPassChannel#q_lin. != NULLcxx . . $ `<external>/15298297234472979974/stddef.h:419:9`!){ |
| 444 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(G_OBJECTcxx . . $ `<external>/1341695927569185362/gobject.h:54:9`!(fx_high_pass_channel->q_lin)); |
| 445 | } |
| 446 | |
| 447 | /* filter gain */ |
| 448 | if(fx_high_pass_channel->filter_gaincxx . . $ _AgsFxHighPassChannel#filter_gain. != NULLcxx . . $ `<external>/15298297234472979974/stddef.h:419:9`!){ |
| 449 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(G_OBJECTcxx . . $ `<external>/1341695927569185362/gobject.h:54:9`!(fx_high_pass_channel->filter_gain)); |
| 450 | } |
| 451 | |
| 452 | /* call parent */ |
| 453 | G_OBJECT_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:61:9`!(ags_fx_high_pass_channel_parent_class)->finalizecxx . . $ _GObjectClass#finalize.(gobject); |
| 454 | } |
| 455 | |
| 456 | static AgsPluginPortcxx . . $ AgsPluginPort#* |
| 457 | ags_fx_high_pass_channel_get_enabled_plugin_portcxx . . $ ags_fx_high_pass_channel_get_enabled_plugin_port(34b69cdf8fd7ff84).() |
| 458 | { |
| 459 | static AgsPluginPortcxx . . $ AgsPluginPort# *plugin_port = NULLcxx . . $ `<external>/15298297234472979974/stddef.h:419:9`!; |
| 460 | |
| 461 | static GMutexcxx . . $ GMutex# mutex; |
| 462 | |
| 463 | g_mutex_lockcxx . . $ g_mutex_lock(d80b1953a7cb7fd1).(&mutex); |
| 464 | |
| 465 | if(plugin_port == NULLcxx . . $ `<external>/15298297234472979974/stddef.h:419:9`!){ |
| 466 | plugin_port = ags_plugin_port_newcxx . . $ ags_plugin_port_new(34b69cdf8fd7ff84).(); |
| 467 | g_object_refcxx . . $ `<external>/1341695927569185362/gobject.h:533:9`!(plugin_port); |
| 468 | |
| 469 | plugin_port->flagscxx . . $ _AgsPluginPort#flags. |= (AGS_PLUGIN_PORT_INPUTcxx . . $ AGS_PLUGIN_PORT_INPUT. | |
| 470 | AGS_PLUGIN_PORT_CONTROLcxx . . $ AGS_PLUGIN_PORT_CONTROL. | |
| 471 | AGS_PLUGIN_PORT_TOGGLEDcxx . . $ AGS_PLUGIN_PORT_TOGGLED.); |
| 472 | |
| 473 | plugin_port->port_indexcxx . . $ _AgsPluginPort#port_index. = 0; |
| 474 | |
| 475 | /* range */ |
| 476 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(plugin_port->default_valuecxx . . $ _AgsPluginPort#default_value., |
| 477 | G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!); |
| 478 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(plugin_port->lower_valuecxx . . $ _AgsPluginPort#lower_value., |
| 479 | G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!); |
| 480 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(plugin_port->upper_valuecxx . . $ _AgsPluginPort#upper_value., |
| 481 | G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!); |
| 482 | |
| 483 | g_value_set_floatcxx . . $ g_value_set_float(b22d5fe81e4f0ffb).(plugin_port->default_valuecxx . . $ _AgsPluginPort#default_value., |
| 484 | 0.0); |
| 485 | g_value_set_floatcxx . . $ g_value_set_float(b22d5fe81e4f0ffb).(plugin_port->lower_valuecxx . . $ _AgsPluginPort#lower_value., |
| 486 | 0.0); |
| 487 | g_value_set_floatcxx . . $ g_value_set_float(b22d5fe81e4f0ffb).(plugin_port->upper_valuecxx . . $ _AgsPluginPort#upper_value., |
| 488 | 1.0); |
| 489 | } |
| 490 | |
| 491 | g_mutex_unlockcxx . . $ g_mutex_unlock(d80b1953a7cb7fd1).(&mutex); |
| 492 | |
| 493 | return(plugin_port); |
| 494 | } |
| 495 | |
| 496 | static AgsPluginPortcxx . . $ AgsPluginPort#* |
| 497 | ags_fx_high_pass_channel_get_q_lin_plugin_portcxx . . $ ags_fx_high_pass_channel_get_q_lin_plugin_port(34b69cdf8fd7ff84).() |
| 498 | { |
| 499 | static AgsPluginPortcxx . . $ AgsPluginPort# *plugin_port = NULLcxx . . $ `<external>/15298297234472979974/stddef.h:419:9`!; |
| 500 | |
| 501 | static GMutexcxx . . $ GMutex# mutex; |
| 502 | |
| 503 | g_mutex_lockcxx . . $ g_mutex_lock(d80b1953a7cb7fd1).(&mutex); |
| 504 | |
| 505 | if(plugin_port == NULLcxx . . $ `<external>/15298297234472979974/stddef.h:419:9`!){ |
| 506 | plugin_port = ags_plugin_port_newcxx . . $ ags_plugin_port_new(34b69cdf8fd7ff84).(); |
| 507 | g_object_refcxx . . $ `<external>/1341695927569185362/gobject.h:533:9`!(plugin_port); |
| 508 | |
| 509 | plugin_port->flagscxx . . $ _AgsPluginPort#flags. |= (AGS_PLUGIN_PORT_INPUTcxx . . $ AGS_PLUGIN_PORT_INPUT. | |
| 510 | AGS_PLUGIN_PORT_CONTROLcxx . . $ AGS_PLUGIN_PORT_CONTROL.); |
| 511 | |
| 512 | plugin_port->port_indexcxx . . $ _AgsPluginPort#port_index. = 0; |
| 513 | |
| 514 | /* range */ |
| 515 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(plugin_port->default_valuecxx . . $ _AgsPluginPort#default_value., |
| 516 | G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!); |
| 517 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(plugin_port->lower_valuecxx . . $ _AgsPluginPort#lower_value., |
| 518 | G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!); |
| 519 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(plugin_port->upper_valuecxx . . $ _AgsPluginPort#upper_value., |
| 520 | G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!); |
| 521 | |
| 522 | g_value_set_floatcxx . . $ g_value_set_float(b22d5fe81e4f0ffb).(plugin_port->default_valuecxx . . $ _AgsPluginPort#default_value., |
| 523 | 0.0); |
| 524 | g_value_set_floatcxx . . $ g_value_set_float(b22d5fe81e4f0ffb).(plugin_port->lower_valuecxx . . $ _AgsPluginPort#lower_value., |
| 525 | -1.0); |
| 526 | g_value_set_floatcxx . . $ g_value_set_float(b22d5fe81e4f0ffb).(plugin_port->upper_valuecxx . . $ _AgsPluginPort#upper_value., |
| 527 | 1.0); |
| 528 | } |
| 529 | |
| 530 | g_mutex_unlockcxx . . $ g_mutex_unlock(d80b1953a7cb7fd1).(&mutex); |
| 531 | |
| 532 | return(plugin_port); |
| 533 | } |
| 534 | |
| 535 | static AgsPluginPortcxx . . $ AgsPluginPort#* |
| 536 | ags_fx_high_pass_channel_get_filter_gain_plugin_portcxx . . $ ags_fx_high_pass_channel_get_filter_gain_plugin_port(34b69cdf8fd7ff84).() |
| 537 | { |
| 538 | static AgsPluginPortcxx . . $ AgsPluginPort# *plugin_port = NULLcxx . . $ `<external>/15298297234472979974/stddef.h:419:9`!; |
| 539 | |
| 540 | static GMutexcxx . . $ GMutex# mutex; |
| 541 | |
| 542 | g_mutex_lockcxx . . $ g_mutex_lock(d80b1953a7cb7fd1).(&mutex); |
| 543 | |
| 544 | if(plugin_port == NULLcxx . . $ `<external>/15298297234472979974/stddef.h:419:9`!){ |
| 545 | plugin_port = ags_plugin_port_newcxx . . $ ags_plugin_port_new(34b69cdf8fd7ff84).(); |
| 546 | g_object_refcxx . . $ `<external>/1341695927569185362/gobject.h:533:9`!(plugin_port); |
| 547 | |
| 548 | plugin_port->flagscxx . . $ _AgsPluginPort#flags. |= (AGS_PLUGIN_PORT_INPUTcxx . . $ AGS_PLUGIN_PORT_INPUT. | |
| 549 | AGS_PLUGIN_PORT_CONTROLcxx . . $ AGS_PLUGIN_PORT_CONTROL.); |
| 550 | |
| 551 | plugin_port->port_indexcxx . . $ _AgsPluginPort#port_index. = 0; |
| 552 | |
| 553 | /* range */ |
| 554 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(plugin_port->default_valuecxx . . $ _AgsPluginPort#default_value., |
| 555 | G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!); |
| 556 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(plugin_port->lower_valuecxx . . $ _AgsPluginPort#lower_value., |
| 557 | G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!); |
| 558 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(plugin_port->upper_valuecxx . . $ _AgsPluginPort#upper_value., |
| 559 | G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!); |
| 560 | |
| 561 | g_value_set_floatcxx . . $ g_value_set_float(b22d5fe81e4f0ffb).(plugin_port->default_valuecxx . . $ _AgsPluginPort#default_value., |
| 562 | 1.0); |
| 563 | g_value_set_floatcxx . . $ g_value_set_float(b22d5fe81e4f0ffb).(plugin_port->lower_valuecxx . . $ _AgsPluginPort#lower_value., |
| 564 | 0.0); |
| 565 | g_value_set_floatcxx . . $ g_value_set_float(b22d5fe81e4f0ffb).(plugin_port->upper_valuecxx . . $ _AgsPluginPort#upper_value., |
| 566 | 2.0); |
| 567 | } |
| 568 | |
| 569 | g_mutex_unlockcxx . . $ g_mutex_unlock(d80b1953a7cb7fd1).(&mutex); |
| 570 | |
| 571 | return(plugin_port); |
| 572 | } |
| 573 | |
| 574 | /** |
| 575 | * ags_fx_high_pass_channel_new: |
| 576 | * @channel: the #AgsChannel |
| 577 | * |
| 578 | * Create a new instance of #AgsFxHighPassChannel |
| 579 | * |
| 580 | * Returns: the new #AgsFxHighPassChannel |
| 581 | * |
| 582 | * Since: 3.13.0 |
| 583 | */ |
| 584 | AgsFxHighPassChannelcxx . . $ AgsFxHighPassChannel#* |
| 585 | ags_fx_high_pass_channel_newcxx . . $ ags_fx_high_pass_channel_new(1fe71ce302683981).(AgsChannelcxx . . $ AgsChannel# *channel) |
| 586 | { |
| 587 | AgsFxHighPassChannelcxx . . $ AgsFxHighPassChannel# *fx_high_pass_channel; |
| 588 | |
| 589 | fx_high_pass_channel = (AgsFxHighPassChannelcxx . . $ AgsFxHighPassChannel# *) g_object_newcxx . . $ g_object_new(8485fe61b4be4c78).(AGS_TYPE_FX_HIGH_PASS_CHANNELcxx . . $ `ags/audio/fx/ags_fx_high_pass_channel.h:33:9`!, |
| 590 | "source", channel, |
| 591 | NULLcxx . . $ `<external>/15298297234472979974/stddef.h:419:9`!); |
| 592 | |
| 593 | return(fx_high_pass_channel); |
| 594 | } |