nongnu.org/gsequencer


gsequencer 7.0.5
Advanced Gtk+ Sequencer
ags_vst_icomponent.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_ICOMPONENT_H__
21#define __AGS_VST_ICOMPONENT_H__
22
23#include <glib.h>
24
28
29#ifdef __cplusplus
30extern "C" {
31#endif
32
33 typedef struct IComponent AgsVstIComponent;
34
35 typedef struct BusInfo AgsVstBusInfo;
36
37 typedef struct RoutingInfo AgsVstRoutingInfo;
38
44
50
51 typedef enum
52 {
56
62
69
70 extern const gint32 ags_vst_kdefault_factory_flags;
71
73
75
77
79
81 guint type, guint dir);
82
84 guint type, guint dir,
85 gint32 index,
86 AgsVstBusInfo *bus);
87
89 AgsVstRoutingInfo *in_info, AgsVstRoutingInfo *out_info);
90
92 guint type, guint dir,
93 gint32 index,
94 gboolean state);
95
97 gboolean state);
98
100 AgsVstIBStream *state);
102 AgsVstIBStream *state);
103
104#ifdef __cplusplus
105}
106#endif
107
108#endif /*__AGS_VST_ICOMPONENT_H__*/
gint32 AgsVstTResult
Definition ags_vst_ftypes.h:58
gint8 AgsVstTUID[16]
Definition ags_vst_funknown.h:79
struct IBStream AgsVstIBStream
Definition ags_vst_ibstream.h:32
struct BusInfo AgsVstBusInfo
Definition ags_vst_icomponent.h:35
AgsVstTResult ags_vst_icomponent_activate_bus(AgsVstIComponent *icomponent, guint type, guint dir, gint32 index, gboolean state)
Definition ags_vst_icomponent.cpp:162
AgsVstBusTypes
Definition ags_vst_icomponent.h:52
@ AGS_VST_KMAIN
Definition ags_vst_icomponent.h:53
@ AGS_VST_KAUX
Definition ags_vst_icomponent.h:54
AgsVstBusDirections
Definition ags_vst_icomponent.h:46
@ AGS_VST_KINPUT
Definition ags_vst_icomponent.h:47
@ AGS_VST_KOUTPUT
Definition ags_vst_icomponent.h:48
AgsVstTResult ags_vst_icomponent_set_io_mode(AgsVstIComponent *icomponent, guint io_mode)
Definition ags_vst_icomponent.cpp:75
gint32 ags_vst_icomponent_get_bus_count(AgsVstIComponent *icomponent, guint type, guint dir)
Definition ags_vst_icomponent.cpp:90
AgsVstTResult ags_vst_icomponent_get_routing_info(AgsVstIComponent *icomponent, AgsVstRoutingInfo *in_info, AgsVstRoutingInfo *out_info)
Definition ags_vst_icomponent.cpp:135
AgsVstBusFlags
Definition ags_vst_icomponent.h:58
@ AGS_VST_KIS_CONTROL_VOLTAGE
Definition ags_vst_icomponent.h:60
@ AGS_VST_KDEFAULT_ACTIVE
Definition ags_vst_icomponent.h:59
void ags_vst_icomponent_destroy(AgsVstIComponent *icomponent)
Definition ags_vst_icomponent.cpp:47
const AgsVstTUID * ags_vst_icomponent_get_iid()
Definition ags_vst_icomponent.cpp:35
const gint32 ags_vst_kdefault_factory_flags
Definition ags_vst_icomponent.cpp:26
AgsVstTResult ags_vst_icomponent_get_controller_class_id(AgsVstIComponent *icomponent, AgsVstTUID *class_id)
Definition ags_vst_icomponent.cpp:61
AgsVstMediaTypes
Definition ags_vst_icomponent.h:39
@ AGS_VST_KEVENT
Definition ags_vst_icomponent.h:41
@ AGS_VST_KNUM_MEDIA_TYPES
Definition ags_vst_icomponent.h:42
@ AGS_VST_KAUDIO
Definition ags_vst_icomponent.h:40
struct RoutingInfo AgsVstRoutingInfo
Definition ags_vst_icomponent.h:37
AgsVstTResult ags_vst_icomponent_set_active(AgsVstIComponent *icomponent, gboolean state)
Definition ags_vst_icomponent.cpp:179
AgsVstIoModes
Definition ags_vst_icomponent.h:64
@ AGS_VST_KADVANCED
Definition ags_vst_icomponent.h:66
@ AGS_vST_KOFFLINE_PROCESSING
Definition ags_vst_icomponent.h:67
@ AGS_VST_KSIMPLE
Definition ags_vst_icomponent.h:65
struct IComponent AgsVstIComponent
Definition ags_vst_icomponent.h:33
AgsVstTResult ags_vst_icomponent_set_state(AgsVstIComponent *icomponent, AgsVstIBStream *state)
Definition ags_vst_icomponent.cpp:194
AgsVstTResult ags_vst_icomponent_get_bus_info(AgsVstIComponent *icomponent, guint type, guint dir, gint32 index, AgsVstBusInfo *bus)
Definition ags_vst_icomponent.cpp:108
AgsVstTResult ags_vst_icomponent_get_state(AgsVstIComponent *icomponent, AgsVstIBStream *state)
Definition ags_vst_icomponent.cpp:209