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