-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add an AUv2 factory option for subtype etc...
The subtype etc can be determined bu either cmake arguments, a hash of the id, or explicit sets of optiosn through a factor akin to the vst3 factory. This commit implements the latter. Once merged, conduit will use this to explicitly set its vst3 and auv2 options.
- Loading branch information
Showing
5 changed files
with
71 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#pragma once | ||
|
||
#include "clap/private/macros.h" | ||
#include <cstdint> | ||
|
||
static const CLAP_CONSTEXPR char CLAP_PLUGIN_FACTORY_INFO_AUV2[] = | ||
"clap.plugin-factory-info-as-auv2.draft0"; | ||
|
||
typedef struct clap_plugin_info_as_auv2 | ||
{ | ||
char au_type[5]; // the au_type. If empty (best choice) use the features[0] to aumu aufx aumi | ||
char au_subt[5]; // the subtype. If empty (worst choice) we try a bad 32 bit hash of the id | ||
} clap_plugin_info_as_auv2_t; | ||
|
||
typedef struct clap_plugin_factory_as_auv2 | ||
{ | ||
// optional values for the Steinberg::PFactoryInfo structure | ||
const char *manufacturer_code; // your 'manu' field | ||
const char *manufacturer_name; // your manufacturer display name | ||
|
||
// populate information about this particular auv2. Return false if we cannot. | ||
bool(CLAP_ABI *get_auv2_info)(const clap_plugin_factory_as_auv2 *factory, uint32_t index, | ||
clap_plugin_info_as_auv2_t *info); | ||
} clap_plugin_factory_as_auv2_t; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters