|
|
@@ -45,8 +45,8 @@ CARLA_BACKEND_START_NAMESPACE |
|
|
* @{ |
|
|
* @{ |
|
|
*/ |
|
|
*/ |
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------------------------------------------------ |
|
|
|
|
|
// Carla Backend API (base definitions) |
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------------------------------------------ |
|
|
|
|
|
* Carla Backend API (base definitions) */ |
|
|
|
|
|
|
|
|
/*! |
|
|
/*! |
|
|
* Maximum default number of loadable plugins. |
|
|
* Maximum default number of loadable plugins. |
|
|
@@ -69,8 +69,8 @@ const unsigned int MAX_PATCHBAY_PLUGINS = 255; |
|
|
*/ |
|
|
*/ |
|
|
const unsigned int MAX_DEFAULT_PARAMETERS = 200; |
|
|
const unsigned int MAX_DEFAULT_PARAMETERS = 200; |
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------------------------------------------------ |
|
|
|
|
|
// Engine Driver Device Hints |
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------------------------------------------ |
|
|
|
|
|
* Engine Driver Device Hints */ |
|
|
|
|
|
|
|
|
/*! |
|
|
/*! |
|
|
* @defgroup EngineDriverHints Engine Driver Device Hints |
|
|
* @defgroup EngineDriverHints Engine Driver Device Hints |
|
|
@@ -99,8 +99,8 @@ const unsigned int ENGINE_DRIVER_DEVICE_VARIABLE_SAMPLE_RATE = 0x4; |
|
|
|
|
|
|
|
|
/** @} */ |
|
|
/** @} */ |
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------------------------------------------------ |
|
|
|
|
|
// Plugin Hints |
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------------------------------------------ |
|
|
|
|
|
* Plugin Hints */ |
|
|
|
|
|
|
|
|
/*! |
|
|
/*! |
|
|
* @defgroup PluginHints Plugin Hints |
|
|
* @defgroup PluginHints Plugin Hints |
|
|
@@ -164,8 +164,8 @@ const unsigned int PLUGIN_NEEDS_SINGLE_THREAD = 0x200; |
|
|
|
|
|
|
|
|
/** @} */ |
|
|
/** @} */ |
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------------------------------------------------ |
|
|
|
|
|
// Plugin Options |
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------------------------------------------ |
|
|
|
|
|
* Plugin Options */ |
|
|
|
|
|
|
|
|
/*! |
|
|
/*! |
|
|
* @defgroup PluginOptions Plugin Options |
|
|
* @defgroup PluginOptions Plugin Options |
|
|
@@ -222,8 +222,8 @@ const unsigned int PLUGIN_OPTION_SEND_ALL_SOUND_OFF = 0x100; |
|
|
|
|
|
|
|
|
/** @} */ |
|
|
/** @} */ |
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------------------------------------------------ |
|
|
|
|
|
// Parameter Hints |
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------------------------------------------ |
|
|
|
|
|
* Parameter Hints */ |
|
|
|
|
|
|
|
|
/*! |
|
|
/*! |
|
|
* @defgroup ParameterHints Parameter Hints |
|
|
* @defgroup ParameterHints Parameter Hints |
|
|
@@ -285,8 +285,8 @@ const unsigned int PARAMETER_USES_CUSTOM_TEXT = 0x400; |
|
|
|
|
|
|
|
|
/** @} */ |
|
|
/** @} */ |
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------------------------------------------------ |
|
|
|
|
|
// Patchbay Port Hints |
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------------------------------------------ |
|
|
|
|
|
* Patchbay Port Hints */ |
|
|
|
|
|
|
|
|
/*! |
|
|
/*! |
|
|
* @defgroup PatchbayPortHints Patchbay Port Hints |
|
|
* @defgroup PatchbayPortHints Patchbay Port Hints |
|
|
@@ -318,8 +318,8 @@ const unsigned int PATCHBAY_PORT_TYPE_MIDI = 0x8; |
|
|
|
|
|
|
|
|
/** @} */ |
|
|
/** @} */ |
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------------------------------------------------ |
|
|
|
|
|
// Custom Data Types |
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------------------------------------------ |
|
|
|
|
|
* Custom Data Types */ |
|
|
|
|
|
|
|
|
/*! |
|
|
/*! |
|
|
* @defgroup CustomDataTypes Custom Data Types |
|
|
* @defgroup CustomDataTypes Custom Data Types |
|
|
@@ -347,8 +347,8 @@ const char* const CUSTOM_DATA_TYPE_STRING = "http://kxstudio.sf.net/ns/carla/str |
|
|
|
|
|
|
|
|
/** @} */ |
|
|
/** @} */ |
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------------------------------------------------ |
|
|
|
|
|
// Custom Data Keys |
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------------------------------------------ |
|
|
|
|
|
* Custom Data Keys */ |
|
|
|
|
|
|
|
|
/*! |
|
|
/*! |
|
|
* @defgroup CustomDataKeys Custom Data Keys |
|
|
* @defgroup CustomDataKeys Custom Data Keys |
|
|
@@ -380,8 +380,8 @@ const char* const CUSTOM_DATA_KEY_UI_VISIBLE = "CarlaUiVisible"; |
|
|
|
|
|
|
|
|
/** @} */ |
|
|
/** @} */ |
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------------------------------------------------ |
|
|
|
|
|
// Binary Type |
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------------------------------------------ |
|
|
|
|
|
* Binary Type */ |
|
|
|
|
|
|
|
|
/*! |
|
|
/*! |
|
|
* The binary type of a plugin. |
|
|
* The binary type of a plugin. |
|
|
@@ -419,8 +419,8 @@ typedef enum { |
|
|
|
|
|
|
|
|
} BinaryType; |
|
|
} BinaryType; |
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------------------------------------------------ |
|
|
|
|
|
// Plugin Type |
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------------------------------------------ |
|
|
|
|
|
* Plugin Type */ |
|
|
|
|
|
|
|
|
/*! |
|
|
/*! |
|
|
* Plugin type. |
|
|
* Plugin type. |
|
|
@@ -464,29 +464,29 @@ typedef enum { |
|
|
PLUGIN_AU = 6, |
|
|
PLUGIN_AU = 6, |
|
|
|
|
|
|
|
|
/*! |
|
|
/*! |
|
|
* Csound file. |
|
|
|
|
|
|
|
|
* Single CSD file (Csound). |
|
|
*/ |
|
|
*/ |
|
|
PLUGIN_CSOUND = 7, |
|
|
|
|
|
|
|
|
PLUGIN_FILE_CSD = 7, |
|
|
|
|
|
|
|
|
/*! |
|
|
/*! |
|
|
* GIG file. |
|
|
|
|
|
|
|
|
* Single GIG file. |
|
|
*/ |
|
|
*/ |
|
|
PLUGIN_GIG = 8, |
|
|
|
|
|
|
|
|
PLUGIN_FILE_GIG = 8, |
|
|
|
|
|
|
|
|
/*! |
|
|
/*! |
|
|
* SF2 file (also known as SoundFont). |
|
|
|
|
|
|
|
|
* Single SF2 file (SoundFont). |
|
|
*/ |
|
|
*/ |
|
|
PLUGIN_SF2 = 9, |
|
|
|
|
|
|
|
|
PLUGIN_FILE_SF2 = 9, |
|
|
|
|
|
|
|
|
/*! |
|
|
/*! |
|
|
* SFZ file. |
|
|
|
|
|
|
|
|
* Single SFZ file. |
|
|
*/ |
|
|
*/ |
|
|
PLUGIN_SFZ = 10 |
|
|
|
|
|
|
|
|
PLUGIN_FILE_SFZ = 10 |
|
|
|
|
|
|
|
|
} PluginType; |
|
|
} PluginType; |
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------------------------------------------------ |
|
|
|
|
|
// Plugin Category |
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------------------------------------------ |
|
|
|
|
|
* Plugin Category */ |
|
|
|
|
|
|
|
|
/*! |
|
|
/*! |
|
|
* Plugin category, which describes the functionality of a plugin. |
|
|
* Plugin category, which describes the functionality of a plugin. |
|
|
@@ -544,8 +544,8 @@ typedef enum { |
|
|
|
|
|
|
|
|
} PluginCategory; |
|
|
} PluginCategory; |
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------------------------------------------------ |
|
|
|
|
|
// Parameter Type |
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------------------------------------------ |
|
|
|
|
|
* Parameter Type */ |
|
|
|
|
|
|
|
|
/*! |
|
|
/*! |
|
|
* Plugin parameter type. |
|
|
* Plugin parameter type. |
|
|
@@ -573,8 +573,8 @@ typedef enum { |
|
|
|
|
|
|
|
|
} ParameterType; |
|
|
} ParameterType; |
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------------------------------------------------ |
|
|
|
|
|
// Internal Parameter Index |
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------------------------------------------ |
|
|
|
|
|
* Internal Parameter Index */ |
|
|
|
|
|
|
|
|
/*! |
|
|
/*! |
|
|
* Special parameters used internally in Carla.\n |
|
|
* Special parameters used internally in Carla.\n |
|
|
@@ -635,8 +635,8 @@ typedef enum { |
|
|
|
|
|
|
|
|
} InternalParameterIndex; |
|
|
} InternalParameterIndex; |
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------------------------------------------------ |
|
|
|
|
|
// Engine Callback Opcode |
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------------------------------------------ |
|
|
|
|
|
* Engine Callback Opcode */ |
|
|
|
|
|
|
|
|
/*! |
|
|
/*! |
|
|
* Engine callback opcodes.\n |
|
|
* Engine callback opcodes.\n |
|
|
@@ -911,8 +911,8 @@ typedef enum { |
|
|
|
|
|
|
|
|
} EngineCallbackOpcode; |
|
|
} EngineCallbackOpcode; |
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------------------------------------------------ |
|
|
|
|
|
// Engine Option |
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------------------------------------------ |
|
|
|
|
|
* Engine Option */ |
|
|
|
|
|
|
|
|
/*! |
|
|
/*! |
|
|
* Engine options. |
|
|
* Engine options. |
|
|
@@ -1017,8 +1017,8 @@ typedef enum { |
|
|
|
|
|
|
|
|
} EngineOption; |
|
|
} EngineOption; |
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------------------------------------------------ |
|
|
|
|
|
// Engine Process Mode |
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------------------------------------------ |
|
|
|
|
|
* Engine Process Mode */ |
|
|
|
|
|
|
|
|
/*! |
|
|
/*! |
|
|
* Engine process mode. |
|
|
* Engine process mode. |
|
|
@@ -1055,8 +1055,8 @@ typedef enum { |
|
|
|
|
|
|
|
|
} EngineProcessMode; |
|
|
} EngineProcessMode; |
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------------------------------------------------ |
|
|
|
|
|
// Engine Transport Mode |
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------------------------------------------ |
|
|
|
|
|
* Engine Transport Mode */ |
|
|
|
|
|
|
|
|
/*! |
|
|
/*! |
|
|
* Engine transport mode. |
|
|
* Engine transport mode. |
|
|
@@ -1086,8 +1086,8 @@ typedef enum { |
|
|
|
|
|
|
|
|
} EngineTransportMode; |
|
|
} EngineTransportMode; |
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------------------------------------------------ |
|
|
|
|
|
// Patchbay Icon |
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------------------------------------------ |
|
|
|
|
|
* Patchbay Icon */ |
|
|
|
|
|
|
|
|
/*! |
|
|
/*! |
|
|
* The icon of a patchbay client/group. |
|
|
* The icon of a patchbay client/group. |
|
|
@@ -1130,8 +1130,8 @@ enum PatchbayIcon { |
|
|
PATCHBAY_ICON_FILE = 5 |
|
|
PATCHBAY_ICON_FILE = 5 |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------------------------------------------------ |
|
|
|
|
|
// Carla Backend API (C stuff) |
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------------------------------------------ |
|
|
|
|
|
* Carla Backend API (C stuff) */ |
|
|
|
|
|
|
|
|
/*! |
|
|
/*! |
|
|
* Engine callback function.\n |
|
|
* Engine callback function.\n |
|
|
|