Mercurial > hg > apm2s
comparison resource.h @ 0:4606bd505630 tip
first import
author | Fiore Martin <f.martin@qmul.ac.uk> |
---|---|
date | Sat, 13 Jun 2015 15:08:10 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:4606bd505630 |
---|---|
1 // | |
2 // resource.h | |
3 // | |
4 // Author: Fiore Martin | |
5 // Started from IPlugMultiTargets example in WDL-OL, by Oli Larkin - https://github.com/olilarkin/wdl-ol | |
6 // | |
7 // Licensed under the Cockos WDL License, see README.txt | |
8 // | |
9 | |
10 #define PLUG_MFR "QueenMaryUniversityOfLondon" | |
11 #define PLUG_NAME "AccessiblePeakMeter2S" | |
12 | |
13 #define PLUG_CLASS_NAME AccessiblePeakMeter | |
14 | |
15 #define BUNDLE_MFR "QueenMaryUniversityOfLondon" | |
16 #define BUNDLE_NAME "AccessiblePeakMeter2S" | |
17 | |
18 #define PLUG_ENTRY AccessiblePeakMeter_Entry | |
19 #define PLUG_VIEW_ENTRY AccessiblePeakMeter_ViewEntry | |
20 | |
21 #define PLUG_ENTRY_STR "AccessiblePeakMeter_Entry" | |
22 #define PLUG_VIEW_ENTRY_STR "AccessiblePeakMeter_ViewEntry" | |
23 | |
24 #define VIEW_CLASS AccessiblePeakMeter_View | |
25 #define VIEW_CLASS_STR "AccessiblePeakMeter_View" | |
26 | |
27 // Format 0xMAJR.MN.BG - in HEX! so version 10.1.5 would be 0x000A0105 | |
28 #define PLUG_VER 0x00010000 | |
29 #define VST3_VER_STR "1.0.0" | |
30 | |
31 // http://service.steinberg.de/databases/plugin.nsf/plugIn?openForm | |
32 // 4 chars, single quotes. At least one capital letter | |
33 #define PLUG_UNIQUE_ID 'f5sm' | |
34 // make sure this is not the same as BUNDLE_MFR | |
35 #define PLUG_MFR_ID 'Qmul' | |
36 | |
37 // ProTools stuff | |
38 #if (defined(AAX_API) || defined(RTAS_API)) && !defined(_PIDS_) | |
39 #define _PIDS_ | |
40 const int PLUG_TYPE_IDS[2] = {'MAN1', 'MAN2'}; | |
41 #endif | |
42 #define PLUG_MFR_PT "QueenMaryUniversityOfLondon\nQueenMaryUniversityOfLondon\nQmul" | |
43 #define PLUG_NAME_PT "AccessiblePeakMeter\nAccessiblePeakMeter" | |
44 #define PLUG_TYPE_PT "Effect" | |
45 #define PLUG_DOES_AUDIOSUITE 0 | |
46 | |
47 /* PLUG_TYPE_PT can be "None", "EQ", "Dynamics", "PitchShift", "Reverb", "Delay", "Modulation", | |
48 "Harmonic" "NoiseReduction" "Dither" "SoundField" "Effect" | |
49 instrument determined by PLUG _IS _INST | |
50 */ | |
51 | |
52 #define PLUG_CHANNEL_IO "1-1 2-2" | |
53 | |
54 #define PLUG_LATENCY 0 | |
55 #define PLUG_IS_INST 0 | |
56 | |
57 // if this is 0 RTAS can't get tempo info | |
58 #define PLUG_DOES_MIDI 0 | |
59 | |
60 #define PLUG_DOES_STATE_CHUNKS 0 | |
61 | |
62 // Unique IDs for each image resource. | |
63 | |
64 #define BG_ID 100 | |
65 #define KNOB_ID 101 | |
66 #define FADER_ID 102 | |
67 #define SWITCH_ID 103 | |
68 | |
69 | |
70 // Image resource locations for this plug. | |
71 #define KNOB_FN "resources/img/knob.png" | |
72 #define BG_FN "resources/img/bg.png" | |
73 #define FADER_FN "resources/img/fader.png" | |
74 #define SWITCH_FN "resources/img/switch.png" | |
75 | |
76 // GUI default dimensions | |
77 #define GUI_WIDTH 315 | |
78 #define GUI_HEIGHT 249 | |
79 | |
80 // on MSVC, you must define SA_API in the resource editor preprocessor macros as well as the c++ ones | |
81 #ifdef SA_API | |
82 #ifndef OS_IOS | |
83 #include "app_wrapper/app_resource.h" | |
84 #endif | |
85 #endif | |
86 | |
87 // vst3 stuff | |
88 #define MFR_URL "" | |
89 #define MFR_EMAIL "" | |
90 #define EFFECT_TYPE_VST3 "Fx" | |
91 | |
92 /* "Fx|Analyzer"", "Fx|Delay", "Fx|Distortion", "Fx|Dynamics", "Fx|EQ", "Fx|Filter", | |
93 "Fx", "Fx|Instrument", "Fx|InstrumentExternal", "Fx|Spatial", "Fx|Generator", | |
94 "Fx|Mastering", "Fx|Modulation", "Fx|PitchShift", "Fx|Restoration", "Fx|Reverb", | |
95 "Fx|Surround", "Fx|Tools", "Instrument", "Instrument|Drum", "Instrument|Sampler", | |
96 "Instrument|Synth", "Instrument|Synth|Sampler", "Instrument|External", "Spatial", | |
97 "Spatial|Fx", "OnlyRT", "OnlyOfflineProcess", "Mono", "Stereo", | |
98 "Surround" | |
99 */ |