nongnu.org/gsequencer


gsequencer 7.0.5
Advanced Gtk+ Sequencer
ags_vst_component.h
Go to the documentation of this file.
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#ifndef __AGS_VST_COMPONENT_H__
21#define __AGS_VST_COMPONENT_H__
22
23#include <glib.h>
24
29
30#ifdef __cplusplus
31extern "C" {
32#endif
33
34 typedef struct AgsVstComponent Component;
35
36 AgsVstComponent* ags_vst_component_new();
37
38 void ags_vst_component_delete(AgsVstComponent *component);
39
40 void ags_vst_component_set_controller_class(AgsVstComponent *component,
41 AgsVstFUID *cid);
42
43 gint32 ags_vst_component_remove_audio_buses(AgsVstComponent *component);
44
45 gint32 ags_vst_component_remove_event_buses(AgsVstComponent *component);
46
47 gint32 ags_vst_component_rename_bus(AgsVstComponent *component,
48 AgsVstMediaType type, AgsVstBusDirection dir, gint32 index,
49 AgsVstString128 new_name);
50
51 gint32 ags_vst_component_get_controller_class_id(AgsVstComponent *component,
52 AgsVstTUID *class_id);
53
54 gint32 ags_vst_component_set_io_mode(AgsVstComponent *component,
55 AgsVstIoMode mode);
56
57 gint32 ags_vst_component_get_bus_count(AgsVstComponent *component,
59
60 gint32 ags_vst_component_get_bus_info(AgsVstComponent *component,
61 AgsVstMediaType type, AgsVstBusDirection dir, gint32 index, AgsVstBusInfo *info);
62
63 gint32 ags_vst_component_get_routing_info(AgsVstComponent *component,
64 AgsVstRoutingInfo *in_info, AgsVstRoutingInfo *out_info);
65
66 gint32 ags_vst_component_activate_bus(AgsVstComponent *component,
67 AgsVstMediaType type, AgsVstBusDirection dir, gint32 index, gboolean state);
68
69 gint32 ags_vst_component_set_active(AgsVstComponent *component,
70 gboolean state);
71
72 gint32 ags_vst_component_set_state(AgsVstComponent *component,
73 AgsVstIBStream *state);
74
75 gint32 ags_vst_component_get_state(AgsVstComponent *component,
76 AgsVstIBStream *state);
77
78 gint32 ags_vst_component_initialize(AgsVstComponent *component,
79 AgsVstFUnknown *context);
80
81 gint32 ags_vst_component_terminate(AgsVstComponent *component);
82
83#ifdef __cplusplus
84}
85#endif
86
87#endif /*__AGS_VST_COMPONENT_H__*/
void ags_vst_component_delete(AgsVstComponent *component)
Definition ags_vst_component.cpp:48
gint32 ags_vst_component_get_controller_class_id(AgsVstComponent *component, AgsVstTUID *class_id)
Definition ags_vst_component.cpp:125
gint32 ags_vst_component_set_active(AgsVstComponent *component, gboolean state)
Definition ags_vst_component.cpp:242
gint32 ags_vst_component_initialize(AgsVstComponent *component, AgsVstFUnknown *context)
Definition ags_vst_component.cpp:288
gint32 ags_vst_component_activate_bus(AgsVstComponent *component, AgsVstMediaType type, AgsVstBusDirection dir, gint32 index, gboolean state)
Definition ags_vst_component.cpp:226
gint32 ags_vst_component_set_state(AgsVstComponent *component, AgsVstIBStream *state)
Definition ags_vst_component.cpp:257
gint32 ags_vst_component_get_routing_info(AgsVstComponent *component, AgsVstRoutingInfo *in_info, AgsVstRoutingInfo *out_info)
Definition ags_vst_component.cpp:202
gint32 ags_vst_component_get_bus_info(AgsVstComponent *component, AgsVstMediaType type, AgsVstBusDirection dir, gint32 index, AgsVstBusInfo *info)
Definition ags_vst_component.cpp:182
gint32 ags_vst_component_get_state(AgsVstComponent *component, AgsVstIBStream *state)
Definition ags_vst_component.cpp:272
gint32 ags_vst_component_rename_bus(AgsVstComponent *component, AgsVstMediaType type, AgsVstBusDirection dir, gint32 index, AgsVstString128 new_name)
Definition ags_vst_component.cpp:108
gint32 ags_vst_component_terminate(AgsVstComponent *component)
Definition ags_vst_component.cpp:302
gint32 ags_vst_component_set_io_mode(AgsVstComponent *component, AgsVstIoMode mode)
Definition ags_vst_component.cpp:148
void ags_vst_component_set_controller_class(AgsVstComponent *component, AgsVstFUID *cid)
Definition ags_vst_component.cpp:61
AgsVstComponent * ags_vst_component_new()
Definition ags_vst_component.cpp:36
gint32 ags_vst_component_get_bus_count(AgsVstComponent *component, AgsVstMediaType type, AgsVstBusDirection dir)
Definition ags_vst_component.cpp:164
struct AgsVstComponent Component
Definition ags_vst_component.h:34
gint32 ags_vst_component_remove_audio_buses(AgsVstComponent *component)
Definition ags_vst_component.cpp:78
gint32 ags_vst_component_remove_event_buses(AgsVstComponent *component)
Definition ags_vst_component.cpp:91
gint8 AgsVstTUID[16]
Definition ags_vst_funknown.h:79
struct FUnknown AgsVstFUnknown
Definition ags_vst_funknown.h:85
struct FUID AgsVstFUID
Definition ags_vst_funknown.h:81
struct IBStream AgsVstIBStream
Definition ags_vst_ibstream.h:32
struct BusInfo AgsVstBusInfo
Definition ags_vst_icomponent.h:35
struct RoutingInfo AgsVstRoutingInfo
Definition ags_vst_icomponent.h:37
AgsVstTChar AgsVstString128[128]
Definition ags_vst_types.h:44
gint32 AgsVstBusDirection
Definition ags_vst_types.h:47
gint32 AgsVstMediaType
Definition ags_vst_types.h:46
gint32 AgsVstIoMode
Definition ags_vst_types.h:49