| 1 |
|
| 2 |
nn |
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
#include <ags/audio/fx/ags_fx_vst3_recycling.h> |
| 21 |
|
| 22 |
#include <ags/audio/fx/ags_fx_vst3_audio_signal.h> |
| 23 |
|
| 24 |
#include <ags/i18n.h> |
| 25 |
|
| 26 |
void ags_fx_vst3_recycling_class_init(AgsFxVst3RecyclingClass *fx_vst3_recycling); |
| 27 |
void ags_fx_vst3_recycling_init(AgsFxVst3Recycling *fx_vst3_recycling); |
| 28 |
void ags_fx_vst3_recycling_dispose(GObject *gobject); |
| 29 |
void ags_fx_vst3_recycling_finalize(GObject *gobject); |
| 30 |
|
| 31 |
|
| 32 |
|
| 33 |
|
| 34 |
|
| 35 |
|
| 36 |
|
| 37 |
|
| 38 |
|
| 39 |
|
| 40 |
|
| 41 |
static gpointer ags_fx_vst3_recycling_parent_class = NULL; |
| 42 |
|
| 43 |
const gchar *ags_fx_vst3_recycling_plugin_name = "ags-fx-vst3"; |
| 44 |
|
| 45 |
GType |
| 46 |
ags_fx_vst3_recycling_get_type() |
| 47 |
{ |
| 48 |
static gsize g_define_type_id__static = 0; |
| 49 |
|
| 50 |
if(g_once_init_enter(&g_define_type_id__static)){ |
| 51 |
GType ags_type_fx_vst3_recycling = 0; |
| 52 |
|
| 53 |
static const GTypeInfo ags_fx_vst3_recycling_info = { |
| 54 |
sizeof (AgsFxVst3RecyclingClass), |
| 55 |
NULL, |
| 56 |
NULL, |
| 57 |
(GClassInitFunc) ags_fx_vst3_recycling_class_init, |
| 58 |
NULL, |
| 59 |
NULL, |
| 60 |
sizeof (AgsFxVst3Recycling), |
| 61 |
0, |
| 62 |
(GInstanceInitFunc) ags_fx_vst3_recycling_init, |
| 63 |
}; |
| 64 |
|
| 65 |
ags_type_fx_vst3_recycling = g_type_register_static(AGS_TYPE_FX_NOTATION_RECYCLING, |
| 66 |
"AgsFxVst3Recycling", |
| 67 |
&ags_fx_vst3_recycling_info, |
| 68 |
0); |
| 69 |
|
| 70 |
g_once_init_leave(&g_define_type_id__static, ags_type_fx_vst3_recycling); |
| 71 |
} |
| 72 |
|
| 73 |
return(g_define_type_id__static); |
| 74 |
} |
| 75 |
|
| 76 |
void |
| 77 |
ags_fx_vst3_recycling_class_init(AgsFxVst3RecyclingClass *fx_vst3_recycling) |
| 78 |
{ |
| 79 |
GObjectClass *gobject; |
| 80 |
|
| 81 |
ags_fx_vst3_recycling_parent_class = g_type_class_peek_parent(fx_vst3_recycling); |
| 82 |
|
| 83 |
|
| 84 |
gobject = (GObjectClass *) fx_vst3_recycling; |
| 85 |
|
| 86 |
gobject->dispose = ags_fx_vst3_recycling_dispose; |
| 87 |
gobject->finalize = ags_fx_vst3_recycling_finalize; |
| 88 |
} |
| 89 |
|
| 90 |
void |
| 91 |
ags_fx_vst3_recycling_init(AgsFxVst3Recycling *fx_vst3_recycling) |
| 92 |
{ |
| 93 |
AGS_RECALL(fx_vst3_recycling)->name = "ags-fx-vst3"; |
| 94 |
AGS_RECALL(fx_vst3_recycling)->version = AGS_RECALL_DEFAULT_VERSION; |
| 95 |
AGS_RECALL(fx_vst3_recycling)->build_id = AGS_RECALL_DEFAULT_BUILD_ID; |
| 96 |
AGS_RECALL(fx_vst3_recycling)->xml_type = "ags-fx-vst3-recycling"; |
| 97 |
|
| 98 |
AGS_RECALL(fx_vst3_recycling)->child_type = AGS_TYPE_FX_VST3_AUDIO_SIGNAL; |
| 99 |
} |
| 100 |
|
| 101 |
void |
| 102 |
ags_fx_vst3_recycling_dispose(GObject *gobject) |
| 103 |
{ |
| 104 |
AgsFxVst3Recycling *fx_vst3_recycling; |
| 105 |
|
| 106 |
fx_vst3_recycling = AGS_FX_VST3_RECYCLING(gobject); |
| 107 |
|
| 108 |
|
| 109 |
G_OBJECT_CLASS(ags_fx_vst3_recycling_parent_class)->dispose(gobject); |
| 110 |
} |
| 111 |
|
| 112 |
void |
| 113 |
ags_fx_vst3_recycling_finalize(GObject *gobject) |
| 114 |
{ |
| 115 |
AgsFxVst3Recycling *fx_vst3_recycling; |
| 116 |
|
| 117 |
fx_vst3_recycling = AGS_FX_VST3_RECYCLING(gobject); |
| 118 |
|
| 119 |
|
| 120 |
G_OBJECT_CLASS(ags_fx_vst3_recycling_parent_class)->finalize(gobject); |
| 121 |
} |
| 122 |
|
| 123 |
|
| 124 |
|
| 125 |
|
| 126 |
|
| 127 |
|
| 128 |
|
| 129 |
|
| 130 |
|
| 131 |
|
| 132 |
|
| 133 |
AgsFxVst3Recycling* |
| 134 |
ags_fx_vst3_recycling_new(AgsRecycling *recycling) |
| 135 |
{ |
| 136 |
AgsFxVst3Recycling *fx_vst3_recycling; |
| 137 |
|
| 138 |
fx_vst3_recycling = (AgsFxVst3Recycling *) g_object_new(AGS_TYPE_FX_VST3_RECYCLING, |
| 139 |
"source", recycling, |
| 140 |
NULL); |
| 141 |
|
| 142 |
return(fx_vst3_recycling); |
| 143 |
} |