nongnu.org/gsequencer


gsequencer 7.0.5
Advanced Gtk+ Sequencer
ags_vst_bus.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_BUS_H__
21#define __AGS_VST_BUS_H__
22
23#include <glib.h>
24
31
32#ifdef __cplusplus
33extern "C" {
34#endif
35
36 typedef struct AgsVstBus Bus;
37
38 AgsVstBus* ags_vst_bus_new(AgsVstTChar *name, AgsVstBusType bus_type, gint32 flags);
39
40 void ags_vst_bus_delete(AgsVstBus *bus);
41
42 gboolean ags_vst_bus_is_active(AgsVstBus *bus);
43 void ags_vst_bus_set_active(AgsVstBus *bus, gboolean state);
44
45 void ags_vst_bus_set_name(AgsVstBus *bus, AgsVstString new_name);
46
47 void ags_vst_bus_set_bus_type(AgsVstBus *bus, AgsVstBusType new_bus_type);
48
49 void ags_vst_bus_set_flags(AgsVstBus *bus, guint32 new_flags);
50
51 gboolean ags_vst_bus_get_info(AgsVstBus *bus, AgsVstBusInfo *info);
52
53 typedef struct AgsVstEventBus EventBus;
54
55 AgsVstEventBus* ags_vst_event_bus_new(AgsVstTChar *name, AgsVstBusType bus_type, gint32 flags, gint32 channel_count);
56
57 void ags_vst_event_bus_delete(AgsVstEventBus *event_bus);
58
59 gboolean ags_vst_event_bus_get_info(AgsVstEventBus *event_bus, AgsVstBusInfo *info);
60
61 typedef struct AgsVstAudioBus AudioBus;
62
63 AgsVstAudioBus* ags_vst_audio_bus_new(AgsVstTChar *name, AgsVstBusType bus_type, gint32 flags, AgsVstSpeakerArrangement arr);
64
65 void ags_vst_audio_bus_delete(AgsVstAudioBus *audio_bus);
66
68 void ags_vst_audio_bus_set_arrangement(AgsVstAudioBus *audio_bus, AgsVstSpeakerArrangement arr);
69
70 gboolean ags_vst_audio_bus_get_info(AgsVstAudioBus *audio_bus, AgsVstBusInfo *info);
71
72 typedef struct AgsVstBusList BusList;
73
75
76 void ags_vst_bus_list_delete(AgsVstBusList *bus_list);
77
78 AgsVstMediaType ags_vst_bus_list_get_type(AgsVstBusList *bus_list);
79
81
82#ifdef __cplusplus
83}
84#endif
85
86#endif /*__AGS_VST_BUS_H__*/
void ags_vst_bus_set_active(AgsVstBus *bus, gboolean state)
Definition ags_vst_bus.cpp:76
void ags_vst_audio_bus_delete(AgsVstAudioBus *audio_bus)
Definition ags_vst_bus.cpp:214
AgsVstBusDirection ags_vst_bus_list_get_direction(AgsVstBusList *bus_list)
Definition ags_vst_bus.cpp:310
struct AgsVstBusList BusList
Definition ags_vst_bus.h:72
void ags_vst_bus_set_flags(AgsVstBus *bus, guint32 new_flags)
Definition ags_vst_bus.cpp:121
void ags_vst_event_bus_delete(AgsVstEventBus *event_bus)
Definition ags_vst_bus.cpp:168
void ags_vst_bus_set_bus_type(AgsVstBus *bus, AgsVstBusType new_bus_type)
Definition ags_vst_bus.cpp:108
gboolean ags_vst_bus_get_info(AgsVstBus *bus, AgsVstBusInfo *info)
Definition ags_vst_bus.cpp:136
void ags_vst_bus_list_delete(AgsVstBusList *bus_list)
Definition ags_vst_bus.cpp:284
void ags_vst_bus_delete(AgsVstBus *bus)
Definition ags_vst_bus.cpp:50
AgsVstMediaType ags_vst_bus_list_get_type(AgsVstBusList *bus_list)
Definition ags_vst_bus.cpp:297
struct AgsVstEventBus EventBus
Definition ags_vst_bus.h:53
AgsVstEventBus * ags_vst_event_bus_new(AgsVstTChar *name, AgsVstBusType bus_type, gint32 flags, gint32 channel_count)
Definition ags_vst_bus.cpp:156
struct AgsVstBus Bus
Definition ags_vst_bus.h:36
void ags_vst_bus_set_name(AgsVstBus *bus, AgsVstString new_name)
Definition ags_vst_bus.cpp:89
void ags_vst_audio_bus_set_arrangement(AgsVstAudioBus *audio_bus, AgsVstSpeakerArrangement arr)
Definition ags_vst_bus.cpp:240
AgsVstSpeakerArrangement ags_vst_audio_bus_get_arrangement(AgsVstAudioBus *audio_bus)
Definition ags_vst_bus.cpp:227
gboolean ags_vst_audio_bus_get_info(AgsVstAudioBus *audio_bus, AgsVstBusInfo *info)
Definition ags_vst_bus.cpp:254
gboolean ags_vst_bus_is_active(AgsVstBus *bus)
Definition ags_vst_bus.cpp:63
struct AgsVstAudioBus AudioBus
Definition ags_vst_bus.h:61
AgsVstBusList * ags_vst_bus_list_new(AgsVstMediaType type, AgsVstBusDirection dir)
Definition ags_vst_bus.cpp:272
AgsVstBus * ags_vst_bus_new(AgsVstTChar *name, AgsVstBusType bus_type, gint32 flags)
gboolean ags_vst_event_bus_get_info(AgsVstEventBus *event_bus, AgsVstBusInfo *info)
Definition ags_vst_bus.cpp:182
AgsVstAudioBus * ags_vst_audio_bus_new(AgsVstTChar *name, AgsVstBusType bus_type, gint32 flags, AgsVstSpeakerArrangement arr)
Definition ags_vst_bus.cpp:202
gchar AgsVstString[64]
Definition ags_vst_funknown.h:83
struct BusInfo AgsVstBusInfo
Definition ags_vst_icomponent.h:35
long unsigned int AgsVstSpeakerArrangement
Definition ags_vst_types.h:70
gunichar2 AgsVstTChar
Definition ags_vst_types.h:43
gint32 AgsVstBusDirection
Definition ags_vst_types.h:47
gint32 AgsVstBusType
Definition ags_vst_types.h:48
gint32 AgsVstMediaType
Definition ags_vst_types.h:46