| 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_sf2_synth_recycling.h>cxx . . $ `<file>/ags/audio/fx/ags_fx_sf2_synth_recycling.h`/ |
| 21 | |
| 22 | #include <ags/audio/fx/ags_fx_sf2_synth_audio_signal.h>cxx . . $ `<file>/ags/audio/fx/ags_fx_sf2_synth_audio_signal.h`/ |
| 23 | |
| 24 | #include <ags/i18n.h>cxx . . $ `<file>/ags/i18n.h`/ |
| 25 | |
| 26 | void ags_fx_sf2_synth_recycling_class_initcxx . . $ ags_fx_sf2_synth_recycling_class_init(3172c888bfa07606).(AgsFxSF2SynthRecyclingClasscxx . . $ AgsFxSF2SynthRecyclingClass# *fx_sf2_synth_recycling); |
| 27 | void ags_fx_sf2_synth_recycling_initcxx . . $ ags_fx_sf2_synth_recycling_init(ae9c537c90de608e).(AgsFxSF2SynthRecyclingcxx . . $ AgsFxSF2SynthRecycling# *fx_sf2_synth_recycling); |
| 28 | void ags_fx_sf2_synth_recycling_disposecxx . . $ ags_fx_sf2_synth_recycling_dispose(6087475fa43034d3).(GObjectcxx . . $ GObject# *gobject); |
| 29 | void ags_fx_sf2_synth_recycling_finalizecxx . . $ ags_fx_sf2_synth_recycling_finalize(6087475fa43034d3).(GObjectcxx . . $ GObject# *gobject); |
| 30 | |
| 31 | /** |
| 32 | * SECTION:ags_fx_sf2_synth_recycling |
| 33 | * @short_description: fx Soundfont2 synth recycling |
| 34 | * @title: AgsFxSF2SynthRecycling |
| 35 | * @section_id: |
| 36 | * @include: ags/audio/fx/ags_fx_sf2_synth_recycling.h |
| 37 | * |
| 38 | * The #AgsFxSF2SynthRecycling class provides ports to the effect processor. |
| 39 | */ |
| 40 | |
| 41 | static gpointercxx . . $ gpointer# ags_fx_sf2_synth_recycling_parent_classcxx . . $ ags_fx_sf2_synth_recycling_parent_class. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!; |
| 42 | |
| 43 | const gcharcxx . . $ gchar# *ags_fx_sf2_synth_recycling_plugin_namecxx . . $ ags_fx_sf2_synth_recycling_plugin_name. = "ags-fx-sf2-synth"; |
| 44 | |
| 45 | GTypecxx . . $ GType# |
| 46 | ags_fx_sf2_synth_recycling_get_typecxx . . $ ags_fx_sf2_synth_recycling_get_type(7b3bcd0168edf51f).() |
| 47 | { |
| 48 | static gsizecxx . . $ gsize# g_define_type_id__static = 0; |
| 49 | |
| 50 | if(g_once_init_entercxx . . $ `<external>/457917468643292165/gthread.h:270:10`!(&g_define_type_id__static)){ |
| 51 | GTypecxx . . $ GType# ags_type_fx_sf2_synth_recycling = 0; |
| 52 | |
| 53 | static const GTypeInfocxx . . $ GTypeInfo# ags_fx_sf2_synth_recycling_info = { |
| 54 | sizeof (AgsFxSF2SynthRecyclingClasscxx . . $ AgsFxSF2SynthRecyclingClass#), |
| 55 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, /* base_init */ |
| 56 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, /* base_finalize */ |
| 57 | (GClassInitFunccxx . . $ GClassInitFunc#) ags_fx_sf2_synth_recycling_class_initcxx . . $ ags_fx_sf2_synth_recycling_class_init(3172c888bfa07606)., |
| 58 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, /* class_finalize */ |
| 59 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, /* class_recycling */ |
| 60 | sizeof (AgsFxSF2SynthRecyclingcxx . . $ AgsFxSF2SynthRecycling#), |
| 61 | 0, /* n_preallocs */ |
| 62 | (GInstanceInitFunccxx . . $ GInstanceInitFunc#) ags_fx_sf2_synth_recycling_initcxx . . $ ags_fx_sf2_synth_recycling_init(ae9c537c90de608e)., |
| 63 | }; |
| 64 | |
| 65 | ags_type_fx_sf2_synth_recycling = g_type_register_staticcxx . . $ g_type_register_static(805a40cfa272e950).(AGS_TYPE_FX_NOTATION_RECYCLINGcxx . . $ `ags/audio/fx/ags_fx_notation_recycling.h:33:9`!, |
| 66 | "AgsFxSF2SynthRecycling", |
| 67 | &ags_fx_sf2_synth_recycling_info, |
| 68 | 0); |
| 69 | |
| 70 | g_once_init_leavecxx . . $ `<external>/457917468643292165/gthread.h:277:10`!(&g_define_type_id__static, ags_type_fx_sf2_synth_recycling); |
| 71 | } |
| 72 | |
| 73 | return(g_define_type_id__static); |
| 74 | } |
| 75 | |
| 76 | void |
| 77 | ags_fx_sf2_synth_recycling_class_initcxx . . $ ags_fx_sf2_synth_recycling_class_init(3172c888bfa07606).(AgsFxSF2SynthRecyclingClasscxx . . $ AgsFxSF2SynthRecyclingClass# *fx_sf2_synth_recycling) |
| 78 | { |
| 79 | GObjectClasscxx . . $ GObjectClass# *gobject; |
| 80 | |
| 81 | ags_fx_sf2_synth_recycling_parent_classcxx . . $ ags_fx_sf2_synth_recycling_parent_class. = g_type_class_peek_parentcxx . . $ g_type_class_peek_parent(9f162e79bfc6c74).(fx_sf2_synth_recycling); |
| 82 | |
| 83 | /* GObjectClass */ |
| 84 | gobject = (GObjectClasscxx . . $ GObjectClass# *) fx_sf2_synth_recycling; |
| 85 | |
| 86 | gobject->disposecxx . . $ _GObjectClass#dispose. = ags_fx_sf2_synth_recycling_disposecxx . . $ ags_fx_sf2_synth_recycling_dispose(6087475fa43034d3).; |
| 87 | gobject->finalizecxx . . $ _GObjectClass#finalize. = ags_fx_sf2_synth_recycling_finalizecxx . . $ ags_fx_sf2_synth_recycling_finalize(6087475fa43034d3).; |
| 88 | } |
| 89 | |
| 90 | void |
| 91 | ags_fx_sf2_synth_recycling_initcxx . . $ ags_fx_sf2_synth_recycling_init(ae9c537c90de608e).(AgsFxSF2SynthRecyclingcxx . . $ AgsFxSF2SynthRecycling# *fx_sf2_synth_recycling) |
| 92 | { |
| 93 | AGS_RECALLcxx . . $ `ags/audio/ags_recall.h:41:9`!(fx_sf2_synth_recycling)->namecxx . . $ _AgsRecall#name. = "ags-fx-sf2-synth"; |
| 94 | AGS_RECALLcxx . . $ `ags/audio/ags_recall.h:41:9`!(fx_sf2_synth_recycling)->versioncxx . . $ _AgsRecall#version. = AGS_RECALL_DEFAULT_VERSIONcxx . . $ `ags/audio/ags_recall.h:137:9`!; |
| 95 | AGS_RECALLcxx . . $ `ags/audio/ags_recall.h:41:9`!(fx_sf2_synth_recycling)->build_idcxx . . $ _AgsRecall#build_id. = AGS_RECALL_DEFAULT_BUILD_IDcxx . . $ `ags/audio/ags_recall.h:138:9`!; |
| 96 | AGS_RECALLcxx . . $ `ags/audio/ags_recall.h:41:9`!(fx_sf2_synth_recycling)->xml_typecxx . . $ _AgsRecall#xml_type. = "ags-fx-sf2-synth-recycling"; |
| 97 | |
| 98 | AGS_RECALLcxx . . $ `ags/audio/ags_recall.h:41:9`!(fx_sf2_synth_recycling)->child_typecxx . . $ _AgsRecall#child_type. = AGS_TYPE_FX_SF2_SYNTH_AUDIO_SIGNALcxx . . $ `ags/audio/fx/ags_fx_sf2_synth_audio_signal.h:35:9`!; |
| 99 | } |
| 100 | |
| 101 | void |
| 102 | ags_fx_sf2_synth_recycling_disposecxx . . $ ags_fx_sf2_synth_recycling_dispose(6087475fa43034d3).(GObjectcxx . . $ GObject# *gobject) |
| 103 | { |
| 104 | AgsFxSF2SynthRecyclingcxx . . $ AgsFxSF2SynthRecycling# *fx_sf2_synth_recycling; |
| 105 | |
| 106 | fx_sf2_synth_recycling = AGS_FX_SF2_SYNTH_RECYCLINGcxx . . $ `ags/audio/fx/ags_fx_sf2_synth_recycling.h:35:9`!(gobject); |
| 107 | |
| 108 | /* call parent */ |
| 109 | G_OBJECT_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:61:9`!(ags_fx_sf2_synth_recycling_parent_class)->disposecxx . . $ _GObjectClass#dispose.(gobject); |
| 110 | } |
| 111 | |
| 112 | void |
| 113 | ags_fx_sf2_synth_recycling_finalizecxx . . $ ags_fx_sf2_synth_recycling_finalize(6087475fa43034d3).(GObjectcxx . . $ GObject# *gobject) |
| 114 | { |
| 115 | AgsFxSF2SynthRecyclingcxx . . $ AgsFxSF2SynthRecycling# *fx_sf2_synth_recycling; |
| 116 | |
| 117 | fx_sf2_synth_recycling = AGS_FX_SF2_SYNTH_RECYCLINGcxx . . $ `ags/audio/fx/ags_fx_sf2_synth_recycling.h:35:9`!(gobject); |
| 118 | |
| 119 | /* call parent */ |
| 120 | G_OBJECT_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:61:9`!(ags_fx_sf2_synth_recycling_parent_class)->finalizecxx . . $ _GObjectClass#finalize.(gobject); |
| 121 | } |
| 122 | |
| 123 | /** |
| 124 | * ags_fx_sf2_synth_recycling_new: |
| 125 | * @recycling: the #AgsRecycling |
| 126 | * |
| 127 | * Create a new instance of #AgsFxSF2SynthRecycling |
| 128 | * |
| 129 | * Returns: the new #AgsFxSF2SynthRecycling |
| 130 | * |
| 131 | * Since: 3.16.0 |
| 132 | */ |
| 133 | AgsFxSF2SynthRecyclingcxx . . $ AgsFxSF2SynthRecycling#* |
| 134 | ags_fx_sf2_synth_recycling_newcxx . . $ ags_fx_sf2_synth_recycling_new(e8d339fdb22d0f41).(AgsRecyclingcxx . . $ AgsRecycling# *recycling) |
| 135 | { |
| 136 | AgsFxSF2SynthRecyclingcxx . . $ AgsFxSF2SynthRecycling# *fx_sf2_synth_recycling; |
| 137 | |
| 138 | fx_sf2_synth_recycling = (AgsFxSF2SynthRecyclingcxx . . $ AgsFxSF2SynthRecycling# *) g_object_newcxx . . $ g_object_new(8485fe61b4be4c78).(AGS_TYPE_FX_SF2_SYNTH_RECYCLINGcxx . . $ `ags/audio/fx/ags_fx_sf2_synth_recycling.h:34:9`!, |
| 139 | "source", recycling, |
| 140 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!); |
| 141 | |
| 142 | return(fx_sf2_synth_recycling); |
| 143 | } |