| 1 |
|
| 2 |
nn |
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 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 |