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 
42 // --- other
43 const char* kShortPluginName = "DoxyProject"; // 15 chars max for AAX
44 const pluginType kPluginType = pluginType::kFXPlugin;
45 
46 // --- vendor info
47 const char* kVendorName = "RackAFX User";
48 const char* kVendorURL = "www.yourcompany.com";
49 const char* kVendorEmail = "help@yourcompany.com";
50 
51 // --- VST3 & AAX only
52 const int32_t kFourCharCode = 'adsf';
53 
54 // --- VST3 specific, see www.willpirkle.com/forum/ for information on generating FUIDs
55 // use GUIDGEN.exe from compiler/tools (Win) or UUID Generator (free Mac App)
56 const char* kVSTFUID = "{73B245A5-0E12-406D-942B-194BD2456E37}";
57 
58 // --- AAX specific
59 const int32_t kManufacturerID = 'VNDR';
60 const int32_t kAAXProductID = 'asdf';
61 
62 // --- Plugin Options
63 const bool kWantSidechain = false;
64 const uint32_t kLatencyInSamples = 0;
65 const double kTailTimeMsec = 0.000;
66 const bool kVSTInfiniteTail = false;
67 const bool kVSTSAA = false;
68 const uint32_t kVST3SAAGranularity = 1;
69 const uint32_t kAAXCategory = 0;
70 
71 #endif
const int32_t kManufacturerID
NOTE: you need the enclosing { }.
Definition: plugindescription.h:59
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:56