ASPiK SDK
plugindescription.h
Go to the documentation of this file.
1 // -----------------------------------------------------------------------------
2 // ASPiK Plugin Kernel File: plugindescription.h
3 //
13 // -----------------------------------------------------------------------------
14 #ifndef _plugindescription_h
15 #define _plugindescription_h
16 
17 #define QUOTE(name) #name
18 #define STR(macro) QUOTE(macro)
19 #define AU_COCOA_VIEWFACTORY_STRING STR(AU_COCOA_VIEWFACTORY_NAME)
20 #define AU_COCOA_VIEW_STRING STR(AU_COCOA_VIEW_NAME)
21 
22 // --- STEP 1 for all plugins: change these variables accordingly
23 
24 // --- FOR AU PLUGINS ONLY ------------------------------------------------- //
25 // try to make this as unique as possible (Cocoa has a flat namespace)
26 // here I'm appending the VST3 FUID string (unique but must be generated for each plugin)
27 #define AU_COCOA_VIEWFACTORY_NAME AUCocoaViewFactory_73B245A50E12406D942B194BD2456E37
28 #define AU_COCOA_VIEW_NAME AUCocoaView_73B245A50E12406D942B194BD2456E37
29 
30 // --- MacOS Bundle Identifiers
31 // NOTE: these ID strings must EXACTLY MATCH the PRODUCT_BUNDLE_IDENTIFIER setting in Build Settings for the Plugin Target
32 const char* kAAXBundleID = "rackafxuser.aax.DoxyProject.bundleID";
33 const char* kVST3BundleID = "rackafxuser.vst3.DoxyProject.bundleID";
34 
35 // --- For AU: make sure BOTH the Plugin Target and the CocoaUI Target PRODUCT_BUNDLE_IDENTIFIER settings match these strings
36 const char* kAUBundleID = "rackafxuser.au.DoxyProject.bundleID";
37 
38 // --- plugin NAME
39 /* AU only: this MUST EXACLTY match the Product Name in Build Settings for BOTH the CocoaUI and your Plugin Targets! */
40 const char* kPluginName = "DoxyProject"; // 31 chars max for AAX
41 const char* kShortPluginName = "DoxyProject"; // 15 chars max for AAX
42 const char* kAUBundleName = "DoxyProject";
43 
44 // --- type of plugin
45 const pluginType kPluginType = pluginType::kFXPlugin;
46 
47 // --- vendor info
48 const char* kVendorName = "RackAFX User";
49 const char* kVendorURL = "www.yourcompany.com";
50 const char* kVendorEmail = "help@yourcompany.com";
51 
52 // --- VST3 & AAX only
53 const int32_t kFourCharCode = 'adsf';
54 
55 // --- VST3 specific, see www.willpirkle.com/forum/ for information on generating FUIDs
56 // use GUIDGEN.exe from compiler/tools (Win) or UUID Generator (free Mac App)
57 const char* kVSTFUID = "{73B245A5-0E12-406D-942B-194BD2456E37}";
58 
59 // --- AAX specific
60 const int32_t kManufacturerID = 'VNDR';
61 const int32_t kAAXProductID = 'asdf';
62 
63 // --- Plugin Options
64 const bool kWantSidechain = false;
65 const uint32_t kLatencyInSamples = 0;
66 const double kTailTimeMsec = 0.000;
67 const bool kVSTInfiniteTail = false;
68 const bool kVSTSAA = false;
69 const uint32_t kVST3SAAGranularity = 1;
70 const uint32_t kAAXCategory = 0;
71 
72 #endif
const int32_t kManufacturerID
NOTE: you need the enclosing { }.
Definition: plugindescription.h:60
pluginType
Use this enum to identify the plugin category.
Definition: pluginstructures.h:61
const char * kVSTFUID
must be unique for each plugin in your company
Definition: plugindescription.h:57