ASPiK SDK
Loading...
Searching...
No Matches
plugindescription.h
1// --- CMAKE generated variables for your plugin
2
3#include "pluginstructures.h"
4
5#ifndef _plugindescription_h
6#define _plugindescription_h
7
8#define QUOTE(name) #name
9#define STR(macro) QUOTE(macro)
10#define AU_COCOA_VIEWFACTORY_STRING STR(AU_COCOA_VIEWFACTORY_NAME)
11#define AU_COCOA_VIEW_STRING STR(AU_COCOA_VIEW_NAME)
12
13// --- AU Plugin Cocoa View Names (flat namespace)
14#define AU_COCOA_VIEWFACTORY_NAME AUCocoaViewFactory_803DF3590FDE3F2A9E6DEC0FFDBBC3FA
15#define AU_COCOA_VIEW_NAME AUCocoaView_803DF3590FDE3F2A9E6DEC0FFDBBC3FA
16
17// --- BUNDLE IDs (MacOS Only)
18const char* kAAXBundleID = "developer.aax.testplutin.bundleID";
19const char* kAUBundleID = "developer.au.testplutin.bundleID";
20const char* kVST3BundleID = "developer.vst3.testplutin.bundleID";
21
22// --- Plugin Names
23const char* kPluginName = "TEstPlutin";
24const char* kShortPluginName = "TEstPlutin";
25const char* kAUBundleName = "TEstPlutin_AU";
26const char* kAAXBundleName = "TEstPlutin_AAX";
27const char* kVSTBundleName = "TEstPlutin_VST";
28
29// --- bundle name helper
30inline static const char* getPluginDescBundleName()
31{
32#ifdef AUPLUGIN
33 return kAUBundleName;
34#endif
35
36#ifdef AAXPLUGIN
37 return kAAXBundleName;
38#endif
39
40#ifdef VSTPLUGIN
41 return kVSTBundleName;
42#endif
43
44 // --- should never get here
45 return kPluginName;
46}
47
48// --- Plugin Type
49const pluginType kPluginType = pluginType::kFXPlugin;
50
51// --- VST3 UUID
52const char* kVSTFUID = "{803df359-0fde-3f2a-9e6d-ec0ffdbbc3fa}";
53
54// --- 4-char codes
55const int32_t kFourCharCode = 'PLUG';
56const int32_t kAAXProductID = 'plUg';
57const int32_t kManufacturerID = 'COMP';
58
59// --- Vendor information
60const char* kVendorName = "ASPiK User";
61const char* kVendorURL = "www.yourcompany.com";
62const char* kVendorEmail = "help@yourcompany.com";
63
64// --- Plugin Options
65const bool kProcessFrames = true;
66const uint32_t kBlockSize = DEFAULT_AUDIO_BLOCK_SIZE;
67const bool kWantSidechain = false;
68const uint32_t kLatencyInSamples = 0;
69const double kTailTimeMsec = 0.000000;
70const bool kVSTInfiniteTail = false;
71const bool kVSTSAA = false;
72const uint32_t kVST3SAAGranularity = 0;
73const uint32_t kAAXCategory = 0;
74
75#endif
pluginType
Use this enum to identify the plugin category.
Definition: pluginstructures.h:62
globally utilized structures and enumerations