| 1 | /* GSequencer - Advanced GTK Sequencer |
| 2 | * Copyright (C) 2005-2024 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_star_synth_channel.h>cxx . . $ `<file>/ags/audio/fx/ags_fx_star_synth_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 | static void ags_fx_star_synth_channel_class_initcxx . . $ ags_fx_star_synth_channel_class_init(f52c5d247e04a91d).(AgsFxStarSynthChannelClasscxx . . $ AgsFxStarSynthChannelClass# *fx_star_synth_channel); |
| 27 | static void ags_fx_star_synth_channel_initcxx . . $ ags_fx_star_synth_channel_init(44d3f2063b673078).(AgsFxStarSynthChannelcxx . . $ AgsFxStarSynthChannel# *fx_star_synth_channel); |
| 28 | static void ags_fx_star_synth_channel_disposecxx . . $ ags_fx_star_synth_channel_dispose(6087475fa43034d3).(GObjectcxx . . $ GObject# *gobject); |
| 29 | static void ags_fx_star_synth_channel_finalizecxx . . $ ags_fx_star_synth_channel_finalize(6087475fa43034d3).(GObjectcxx . . $ GObject# *gobject); |
| 30 | |
| 31 | /** |
| 32 | * SECTION:ags_fx_star_synth_channel |
| 33 | * @short_description: fx STAR synth channel |
| 34 | * @title: AgsFxStarSynthChannel |
| 35 | * @section_id: |
| 36 | * @include: ags/audio/fx/ags_fx_star_synth_channel.h |
| 37 | * |
| 38 | * The #AgsFxStarSynthChannel class provides ports to the effect processor. |
| 39 | */ |
| 40 | |
| 41 | static gpointercxx . . $ gpointer# ags_fx_star_synth_channel_parent_classcxx . . $ ags_fx_star_synth_channel_parent_class. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!; |
| 42 | |
| 43 | GTypecxx . . $ GType# |
| 44 | ags_fx_star_synth_channel_get_typecxx . . $ ags_fx_star_synth_channel_get_type(7b3bcd0168edf51f).() |
| 45 | { |
| 46 | static gsizecxx . . $ gsize# g_define_type_id__static = 0; |
| 47 | |
| 48 | if(g_once_init_entercxx . . $ `<external>/457917468643292165/gthread.h:270:10`!(&g_define_type_id__static)){ |
| 49 | GTypecxx . . $ GType# ags_type_fx_star_synth_channel = 0; |
| 50 | |
| 51 | static const GTypeInfocxx . . $ GTypeInfo# ags_fx_star_synth_channel_info = { |
| 52 | sizeof (AgsFxStarSynthChannelClasscxx . . $ AgsFxStarSynthChannelClass#), |
| 53 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!, /* base_init */ |
| 54 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!, /* base_finalize */ |
| 55 | (GClassInitFunccxx . . $ GClassInitFunc#) ags_fx_star_synth_channel_class_initcxx . . $ ags_fx_star_synth_channel_class_init(f52c5d247e04a91d)., |
| 56 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!, /* class_finalize */ |
| 57 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!, /* class_channel */ |
| 58 | sizeof (AgsFxStarSynthChannelcxx . . $ AgsFxStarSynthChannel#), |
| 59 | 0, /* n_preallocs */ |
| 60 | (GInstanceInitFunccxx . . $ GInstanceInitFunc#) ags_fx_star_synth_channel_initcxx . . $ ags_fx_star_synth_channel_init(44d3f2063b673078)., |
| 61 | }; |
| 62 | |
| 63 | ags_type_fx_star_synth_channel = g_type_register_staticcxx . . $ g_type_register_static(805a40cfa272e950).(AGS_TYPE_FX_NOTATION_CHANNELcxx . . $ `ags/audio/fx/ags_fx_notation_channel.h:33:9`!, |
| 64 | "AgsFxStarSynthChannel", |
| 65 | &ags_fx_star_synth_channel_info, |
| 66 | 0); |
| 67 | |
| 68 | g_once_init_leavecxx . . $ `<external>/457917468643292165/gthread.h:277:10`!(&g_define_type_id__static, ags_type_fx_star_synth_channel); |
| 69 | } |
| 70 | |
| 71 | return(g_define_type_id__static); |
| 72 | } |
| 73 | |
| 74 | void |
| 75 | ags_fx_star_synth_channel_class_initcxx . . $ ags_fx_star_synth_channel_class_init(f52c5d247e04a91d).(AgsFxStarSynthChannelClasscxx . . $ AgsFxStarSynthChannelClass# *fx_star_synth_channel) |
| 76 | { |
| 77 | GObjectClasscxx . . $ GObjectClass# *gobject; |
| 78 | |
| 79 | GParamSpeccxx . . $ GParamSpec# *param_spec; |
| 80 | |
| 81 | ags_fx_star_synth_channel_parent_classcxx . . $ ags_fx_star_synth_channel_parent_class. = g_type_class_peek_parentcxx . . $ g_type_class_peek_parent(9f162e79bfc6c74).(fx_star_synth_channel); |
| 82 | |
| 83 | /* GObjectClass */ |
| 84 | gobject = (GObjectClasscxx . . $ GObjectClass# *) fx_star_synth_channel; |
| 85 | |
| 86 | gobject->disposecxx . . $ _GObjectClass#dispose. = ags_fx_star_synth_channel_disposecxx . . $ ags_fx_star_synth_channel_dispose(6087475fa43034d3).; |
| 87 | gobject->finalizecxx . . $ _GObjectClass#finalize. = ags_fx_star_synth_channel_finalizecxx . . $ ags_fx_star_synth_channel_finalize(6087475fa43034d3).; |
| 88 | |
| 89 | /* properties */ |
| 90 | } |
| 91 | |
| 92 | void |
| 93 | ags_fx_star_synth_channel_initcxx . . $ ags_fx_star_synth_channel_init(44d3f2063b673078).(AgsFxStarSynthChannelcxx . . $ AgsFxStarSynthChannel# *fx_star_synth_channel) |
| 94 | { |
| 95 | AGS_RECALLcxx . . $ `ags/audio/ags_recall.h:42:9`!(fx_star_synth_channel)->namecxx . . $ _AgsRecall#name. = "ags-fx-star-synth"; |
| 96 | AGS_RECALLcxx . . $ `ags/audio/ags_recall.h:42:9`!(fx_star_synth_channel)->versioncxx . . $ _AgsRecall#version. = AGS_RECALL_DEFAULT_VERSIONcxx . . $ `ags/audio/ags_recall.h:52:9`!; |
| 97 | AGS_RECALLcxx . . $ `ags/audio/ags_recall.h:42:9`!(fx_star_synth_channel)->build_idcxx . . $ _AgsRecall#build_id. = AGS_RECALL_DEFAULT_BUILD_IDcxx . . $ `ags/audio/ags_recall.h:53:9`!; |
| 98 | AGS_RECALLcxx . . $ `ags/audio/ags_recall.h:42:9`!(fx_star_synth_channel)->xml_typecxx . . $ _AgsRecall#xml_type. = "ags-fx-star-synth-channel"; |
| 99 | } |
| 100 | |
| 101 | void |
| 102 | ags_fx_star_synth_channel_disposecxx . . $ ags_fx_star_synth_channel_dispose(6087475fa43034d3).(GObjectcxx . . $ GObject# *gobject) |
| 103 | { |
| 104 | AgsFxStarSynthChannelcxx . . $ AgsFxStarSynthChannel# *fx_star_synth_channel; |
| 105 | |
| 106 | fx_star_synth_channel = AGS_FX_STAR_SYNTH_CHANNELcxx . . $ `ags/audio/fx/ags_fx_star_synth_channel.h:35:9`!(gobject); |
| 107 | |
| 108 | /* call parent */ |
| 109 | G_OBJECT_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:61:9`!(ags_fx_star_synth_channel_parent_class)->disposecxx . . $ _GObjectClass#dispose.(gobject); |
| 110 | } |
| 111 | |
| 112 | void |
| 113 | ags_fx_star_synth_channel_finalizecxx . . $ ags_fx_star_synth_channel_finalize(6087475fa43034d3).(GObjectcxx . . $ GObject# *gobject) |
| 114 | { |
| 115 | AgsFxStarSynthChannelcxx . . $ AgsFxStarSynthChannel# *fx_star_synth_channel; |
| 116 | |
| 117 | fx_star_synth_channel = AGS_FX_STAR_SYNTH_CHANNELcxx . . $ `ags/audio/fx/ags_fx_star_synth_channel.h:35:9`!(gobject); |
| 118 | |
| 119 | /* call parent */ |
| 120 | G_OBJECT_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:61:9`!(ags_fx_star_synth_channel_parent_class)->finalizecxx . . $ _GObjectClass#finalize.(gobject); |
| 121 | } |
| 122 | |
| 123 | /** |
| 124 | * ags_fx_star_synth_channel_new: |
| 125 | * @channel: the #AgsChannel |
| 126 | * |
| 127 | * Create a new instance of #AgsFxStarSynthChannel |
| 128 | * |
| 129 | * Returns: the new #AgsFxStarSynthChannel |
| 130 | * |
| 131 | * Since: 7.4.0 |
| 132 | */ |
| 133 | AgsFxStarSynthChannelcxx . . $ AgsFxStarSynthChannel#* |
| 134 | ags_fx_star_synth_channel_newcxx . . $ ags_fx_star_synth_channel_new(5d5ec66e1ab1ae5c).(AgsChannelcxx . . $ AgsChannel# *channel) |
| 135 | { |
| 136 | AgsFxStarSynthChannelcxx . . $ AgsFxStarSynthChannel# *fx_star_synth_channel; |
| 137 | |
| 138 | fx_star_synth_channel = (AgsFxStarSynthChannelcxx . . $ AgsFxStarSynthChannel# *) g_object_newcxx . . $ g_object_new(8485fe61b4be4c78).(AGS_TYPE_FX_STAR_SYNTH_CHANNELcxx . . $ `ags/audio/fx/ags_fx_star_synth_channel.h:34:9`!, |
| 139 | "source", channel, |
| 140 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 141 | |
| 142 | return(fx_star_synth_channel); |
| 143 | } |