[IPLUG/EXAMPLES] fix IPlugChunks example
[wdl/wdl-ol.git] / IPlugExamples / IPlugMonoSynth / resource.h
blob459e9e20640ad933c06b8e6154af7f27092c1f7b
1 #define PLUG_MFR "AcmeInc"
2 #define PLUG_NAME "IPlugMonoSynth"
4 #define PLUG_CLASS_NAME IPlugMonoSynth
6 #define BUNDLE_MFR "AcmeInc"
7 #define BUNDLE_NAME "IPlugMonoSynth"
9 #define PLUG_ENTRY IPlugMonoSynth_Entry
10 #define PLUG_VIEW_ENTRY IPlugMonoSynth_ViewEntry
12 #define PLUG_ENTRY_STR "IPlugMonoSynth_Entry"
13 #define PLUG_VIEW_ENTRY_STR "IPlugMonoSynth_ViewEntry"
15 #define VIEW_CLASS IPlugMonoSynth_View
16 #define VIEW_CLASS_STR "IPlugMonoSynth_View"
18 // Format 0xMAJR.MN.BG - in HEX! so version 10.1.5 would be 0x000A0105
19 #define PLUG_VER 0x00010000
20 #define VST3_VER_STR "1.0.0"
22 // http://service.steinberg.de/databases/plugin.nsf/plugIn?openForm
23 // 4 chars, single quotes. At least one capital letter
24 #define PLUG_UNIQUE_ID 'Ipms'
25 // make sure this is not the same as BUNDLE_MFR
26 #define PLUG_MFR_ID 'Acme'
28 // ProTools stuff
29 #if (defined(AAX_API) || defined(RTAS_API)) && !defined(_PIDS_)
30 #define _PIDS_
31 const int PLUG_TYPE_IDS[2] = {'MSN1', 'MSN2'};
32 #endif
33 #define PLUG_MFR_PT "AcmeInc\nAcmeInc\nAcme\n"
34 #define PLUG_NAME_PT "IPlugMonoSynth\nIPMS"
35 #define PLUG_TYPE_PT "Effect"
37 #if (defined(AAX_API) || defined(RTAS_API))
38 #define PLUG_CHANNEL_IO "1-1 2-2"
39 #else
40 #define PLUG_CHANNEL_IO "0-1 0-2"
41 #endif
43 #define PLUG_LATENCY 0
44 #define PLUG_IS_INST 1
46 // if this is 0 RTAS can't get tempo info
47 #define PLUG_DOES_MIDI 1
49 #define PLUG_DOES_STATE_CHUNKS 0
51 // Unique IDs for each image resource.
52 #define KNOB_ID 101
53 #define BG_ID 102
54 #define ABOUTBOX_ID 103
55 #define WHITE_KEY_ID 104
56 #define BLACK_KEY_ID 105
58 // Image resource locations for this plug.
59 #define KNOB_FN "resources/img/knob.png"
60 #define BG_FN "resources/img/bg.png"
61 #define ABOUTBOX_FN "resources/img/about.png"
62 #define WHITE_KEY_FN "resources/img/wk.png"
63 #define BLACK_KEY_FN "resources/img/bk.png"
65 // GUI default dimensions
66 #define GUI_WIDTH 700
67 #define GUI_HEIGHT 300
68 // on MSVC, you must define SA_API in the resource editor preprocessor macros as well as the c++ ones
69 #if defined(SA_API) && !defined(OS_IOS)
70 #include "app_wrapper/app_resource.h"
71 #endif
73 // vst3 stuff
74 #define MFR_URL "www.olilarkin.co.uk"
75 #define MFR_EMAIL "spam@me.com"
76 #define EFFECT_TYPE_VST3 "Instrument|Synth"
78 /* "Fx|Analyzer"", "Fx|Delay", "Fx|Distortion", "Fx|Dynamics", "Fx|EQ", "Fx|Filter",
79 "Fx", "Fx|Instrument", "Fx|InstrumentExternal", "Fx|Spatial", "Fx|Generator",
80 "Fx|Mastering", "Fx|Modulation", "Fx|PitchShift", "Fx|Restoration", "Fx|Reverb",
81 "Fx|Surround", "Fx|Tools", "Instrument", "Instrument|Drum", "Instrument|Sampler",
82 "Instrument|Synth", "Instrument|Synth|Sampler", "Instrument|External", "Spatial",
83 "Spatial|Fx", "OnlyRT", "OnlyOfflineProcess", "Mono", "Stereo",
84 "Surround"