Debian Codegraph @

ags/vst3-capi/pluginterfaces/vst/ags_vst_ichannel_context_info.h

raw symbols SCIP
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_ICHANNEL_CONTEXT_INFO_H__
21 #define __AGS_VST_ICHANNEL_CONTEXT_INFO_H__
22
23 #include <glib.h>
24
25 #include <ags/vst3-capi/pluginterfaces/vst/ags_vst_types.h>
26 #include <ags/vst3-capi/pluginterfaces/vst/ags_vst_iattributes.h>
27
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31
32 typedef struct IInfoListener AgsVstIInfoListener;
33
34 typedef enum
35 {
36 AGS_VST_KPRE_VOLUME_FADER = 0,
37 AGS_VST_KPOST_VOLUME_FADER,
38 AGS_VST_KUSED_AS_PANNER
39 }AgsVstChannelPluginLocation;
40
41 typedef guint32 AgsVstColorSpec;
42 typedef guint8 AgsVstColorComponent;
43
44 extern const AgsVstCString AGS_VST_KCHANNEL_UID_KEY;
45 extern const AgsVstCString AGS_VST_KCHANNEL_UID_LENGTH_KEY;
46 extern const AgsVstCString AGS_VST_KCHANNEL_NAME_KEY;
47 extern const AgsVstCString AGS_VST_KCHANNEL_NAME_LENGTH_KEY;
48 extern const AgsVstCString AGS_VST_KCHANNEL_COLOR_KEY;
49 extern const AgsVstCString AGS_VST_KCHANNEL_INDEX_KEY;
50 extern const AgsVstCString AGS_VST_KCHANNEL_INDEX_NAMESPACE_ORDER_KEY;
51 extern const AgsVstCString AGS_VST_KCHANNEL_INDEX_NAMESPACE_KEY;
52 extern const AgsVstCString AGS_VST_KCHANNEL_INDEX_NAMESPACE_LENGTH_KEY;
53 extern const AgsVstCString AGS_VST_KCHANNEL_IMAGE_KEY;
54 extern const AgsVstCString AGS_VST_KCHANNEL_PLUGIN_LOCATION_KEY;
55
56 const AgsVstTUID* ags_vst_iinfo_listener_get_iid();
57
58 AgsVstTResult ags_vst_iinfo_listener_set_channel_context_info(AgsVstIInfoListener *iinfo_listener,
59 AgsVstIAttributeList *list);
60
61 AgsVstColorComponent ags_vst_ichannel_context_get_blue(AgsVstColorSpec cs);
62
63 AgsVstColorComponent ags_vst_ichannel_context_get_green(AgsVstColorSpec cs);
64
65 AgsVstColorComponent ags_vst_ichannel_context_get_red(AgsVstColorSpec cs);
66
67 AgsVstColorComponent ags_vst_ichannel_context_get_alpha(AgsVstColorSpec cs);
68
69 #ifdef __cplusplus
70 }
71 #endif
72
73 #endif /*__AGS_VST_ICHANNEL_CONTEXT_INFO_H__*/