Debian Codegraph @

ags/audio/fx/ags_fx_playback_channel.c

raw symbols SCIP
1 /* GSequencer - Advanced GTK Sequencer
2 * Copyright (C) 2005-2020 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_playback_channel.h>cxx . . $ `<file>/ags/audio/fx/ags_fx_playback_channel.h`/
21
22 #include <ags/i18n.h>cxx . . $ `<file>/ags/i18n.h`/
23
24 static void ags_fx_playback_channel_class_initcxx . . $ ags_fx_playback_channel_class_init(9d4d077d62bef090).(AgsFxPlaybackChannelClasscxx . . $ AgsFxPlaybackChannelClass# *fx_playback_channel);
25 static void ags_fx_playback_channel_initcxx . . $ ags_fx_playback_channel_init(ab39d10f32d65704).(AgsFxPlaybackChannelcxx . . $ AgsFxPlaybackChannel# *fx_playback_channel);
26 static void ags_fx_playback_channel_disposecxx . . $ ags_fx_playback_channel_dispose(6087475fa43034d3).(GObjectcxx . . $ GObject# *gobject);
27 static void ags_fx_playback_channel_finalizecxx . . $ ags_fx_playback_channel_finalize(6087475fa43034d3).(GObjectcxx . . $ GObject# *gobject);
28
29 /**
30 * SECTION:ags_fx_playback_channel
31 * @short_description: fx playback channel
32 * @title: AgsFxPlaybackChannel
33 * @section_id:
34 * @include: ags/audio/fx/ags_fx_playback_channel.h
35 *
36 * The #AgsFxPlaybackChannel class provides ports to the effect processor.
37 */
38
39 static gpointercxx . . $ gpointer# ags_fx_playback_channel_parent_classcxx . . $ ags_fx_playback_channel_parent_class. = NULLcxx . . $ `<external>/16391990256953433862/stddef.h:419:9`!;
40
41 static const gcharcxx . . $ gchar# *ags_fx_playback_channel_plugin_namecxx . . $ ags_fx_playback_channel_plugin_name. = "ags-fx-playback";
42
43 GTypecxx . . $ GType#
44 ags_fx_playback_channel_get_typecxx . . $ ags_fx_playback_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_playback_channel = 0;
50
51 static const GTypeInfocxx . . $ GTypeInfo# ags_fx_playback_channel_info = {
52 sizeof (AgsFxPlaybackChannelClasscxx . . $ AgsFxPlaybackChannelClass#),
53 NULLcxx . . $ `<external>/16391990256953433862/stddef.h:419:9`!, /* base_init */
54 NULLcxx . . $ `<external>/16391990256953433862/stddef.h:419:9`!, /* base_finalize */
55 (GClassInitFunccxx . . $ GClassInitFunc#) ags_fx_playback_channel_class_initcxx . . $ ags_fx_playback_channel_class_init(9d4d077d62bef090).,
56 NULLcxx . . $ `<external>/16391990256953433862/stddef.h:419:9`!, /* class_finalize */
57 NULLcxx . . $ `<external>/16391990256953433862/stddef.h:419:9`!, /* class_channel */
58 sizeof (AgsFxPlaybackChannelcxx . . $ AgsFxPlaybackChannel#),
59 0, /* n_preallocs */
60 (GInstanceInitFunccxx . . $ GInstanceInitFunc#) ags_fx_playback_channel_initcxx . . $ ags_fx_playback_channel_init(ab39d10f32d65704).,
61 };
62
63 ags_type_fx_playback_channel = g_type_register_staticcxx . . $ g_type_register_static(805a40cfa272e950).(AGS_TYPE_RECALL_CHANNELcxx . . $ `ags/audio/ags_recall_channel.h:34:9`!,
64 "AgsFxPlaybackChannel",
65 &ags_fx_playback_channel_info,
66 0);
67
68 g_once_init_leavecxx . . $ `<external>/457917468643292165/gthread.h:277:10`!(&g_define_type_id__static, ags_type_fx_playback_channel);
69 }
70
71 return(g_define_type_id__static);
72 }
73
74 void
75 ags_fx_playback_channel_class_initcxx . . $ ags_fx_playback_channel_class_init(9d4d077d62bef090).(AgsFxPlaybackChannelClasscxx . . $ AgsFxPlaybackChannelClass# *fx_playback_channel)
76 {
77 GObjectClasscxx . . $ GObjectClass# *gobject;
78
79 ags_fx_playback_channel_parent_classcxx . . $ ags_fx_playback_channel_parent_class. = g_type_class_peek_parentcxx . . $ g_type_class_peek_parent(9f162e79bfc6c74).(fx_playback_channel);
80
81 /* GObjectClass */
82 gobject = (GObjectClasscxx . . $ GObjectClass# *) fx_playback_channel;
83
84 gobject->disposecxx . . $ _GObjectClass#dispose. = ags_fx_playback_channel_disposecxx . . $ ags_fx_playback_channel_dispose(6087475fa43034d3).;
85 gobject->finalizecxx . . $ _GObjectClass#finalize. = ags_fx_playback_channel_finalizecxx . . $ ags_fx_playback_channel_finalize(6087475fa43034d3).;
86 }
87
88 void
89 ags_fx_playback_channel_initcxx . . $ ags_fx_playback_channel_init(ab39d10f32d65704).(AgsFxPlaybackChannelcxx . . $ AgsFxPlaybackChannel# *fx_playback_channel)
90 {
91 AGS_RECALLcxx . . $ `ags/audio/ags_recall.h:42:9`!(fx_playback_channel)->namecxx . . $ _AgsRecall#name. = "ags-fx-playback";
92 AGS_RECALLcxx . . $ `ags/audio/ags_recall.h:42:9`!(fx_playback_channel)->versioncxx . . $ _AgsRecall#version. = AGS_RECALL_DEFAULT_VERSIONcxx . . $ `ags/audio/ags_recall.h:52:9`!;
93 AGS_RECALLcxx . . $ `ags/audio/ags_recall.h:42:9`!(fx_playback_channel)->build_idcxx . . $ _AgsRecall#build_id. = AGS_RECALL_DEFAULT_BUILD_IDcxx . . $ `ags/audio/ags_recall.h:53:9`!;
94 AGS_RECALLcxx . . $ `ags/audio/ags_recall.h:42:9`!(fx_playback_channel)->xml_typecxx . . $ _AgsRecall#xml_type. = "ags-fx-playback-channel";
95 }
96
97 void
98 ags_fx_playback_channel_disposecxx . . $ ags_fx_playback_channel_dispose(6087475fa43034d3).(GObjectcxx . . $ GObject# *gobject)
99 {
100 AgsFxPlaybackChannelcxx . . $ AgsFxPlaybackChannel# *fx_playback_channel;
101
102 fx_playback_channel = AGS_FX_PLAYBACK_CHANNELcxx . . $ `ags/audio/fx/ags_fx_playback_channel.h:34:9`!(gobject);
103
104 /* call parent */
105 G_OBJECT_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:61:9`!(ags_fx_playback_channel_parent_class)->disposecxx . . $ _GObjectClass#dispose.(gobject);
106 }
107
108 void
109 ags_fx_playback_channel_finalizecxx . . $ ags_fx_playback_channel_finalize(6087475fa43034d3).(GObjectcxx . . $ GObject# *gobject)
110 {
111 AgsFxPlaybackChannelcxx . . $ AgsFxPlaybackChannel# *fx_playback_channel;
112
113 fx_playback_channel = AGS_FX_PLAYBACK_CHANNELcxx . . $ `ags/audio/fx/ags_fx_playback_channel.h:34:9`!(gobject);
114
115 /* call parent */
116 G_OBJECT_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:61:9`!(ags_fx_playback_channel_parent_class)->finalizecxx . . $ _GObjectClass#finalize.(gobject);
117 }
118
119 /**
120 * ags_fx_playback_channel_new:
121 * @channel: the #AgsChannel
122 *
123 * Create a new instance of #AgsFxPlaybackChannel
124 *
125 * Returns: the new #AgsFxPlaybackChannel
126 *
127 * Since: 3.3.0
128 */
129 AgsFxPlaybackChannelcxx . . $ AgsFxPlaybackChannel#*
130 ags_fx_playback_channel_newcxx . . $ ags_fx_playback_channel_new(b2ef1e5cbd8d5b0b).(AgsChannelcxx . . $ AgsChannel# *channel)
131 {
132 AgsFxPlaybackChannelcxx . . $ AgsFxPlaybackChannel# *fx_playback_channel;
133
134 fx_playback_channel = (AgsFxPlaybackChannelcxx . . $ AgsFxPlaybackChannel# *) g_object_newcxx . . $ g_object_new(8485fe61b4be4c78).(AGS_TYPE_FX_PLAYBACK_CHANNELcxx . . $ `ags/audio/fx/ags_fx_playback_channel.h:33:9`!,
135 "source", channel,
136 NULLcxx . . $ `<external>/16391990256953433862/stddef.h:419:9`!);
137
138 return(fx_playback_channel);
139 }