Fix all host opcodes being offset by 1 or two
This commit is contained in:
@@ -647,49 +647,49 @@ enum VST_HOST_OPCODE {
|
||||
|
||||
VST_HOST_OPCODE_1F = 0x1F,
|
||||
|
||||
VST_HOST_OPCODE_20 = 0x20,
|
||||
|
||||
/** Retrieve the vendor name into the ptr buffer.
|
||||
*
|
||||
* @param p_ptr A zero terminated char buffer of size @ref VST_BUFFER_SIZE_VENDOR_NAME.
|
||||
*/
|
||||
VST_HOST_OPCODE_21 = 0x21,
|
||||
/** @sa VST_HOST_OPCODE_21 */
|
||||
VST_HOST_OPCODE_VENDOR_NAME = 0x21,
|
||||
VST_HOST_OPCODE_20 = 0x20,
|
||||
/** @sa VST_HOST_OPCODE_20 */
|
||||
VST_HOST_OPCODE_VENDOR_NAME = 0x20,
|
||||
|
||||
/** Retrieve the product name into the ptr buffer.
|
||||
*
|
||||
* @param p_ptr A zero terminated char buffer of size @ref VST_BUFFER_SIZE_PRODUCT_NAME.
|
||||
*/
|
||||
VST_HOST_OPCODE_22 = 0x22,
|
||||
/** @sa VST_HOST_OPCODE_22 */
|
||||
VST_HOST_OPCODE_PRODUCT_NAME = 0x22,
|
||||
VST_HOST_OPCODE_21 = 0x21,
|
||||
/** @sa VST_HOST_OPCODE_21 */
|
||||
VST_HOST_OPCODE_PRODUCT_NAME = 0x21,
|
||||
|
||||
/** Retrieve the vendor version in return value.
|
||||
*
|
||||
* @return Version.
|
||||
*/
|
||||
VST_HOST_OPCODE_23 = 0x23,
|
||||
/** @sa VST_HOST_OPCODE_23 */
|
||||
VST_HOST_OPCODE_VENDOR_VERSION = 0x23,
|
||||
VST_HOST_OPCODE_22 = 0x22,
|
||||
/** @sa VST_HOST_OPCODE_22 */
|
||||
VST_HOST_OPCODE_VENDOR_VERSION = 0x22,
|
||||
|
||||
/** User defined OP Code, for custom interaction.
|
||||
*
|
||||
*/
|
||||
VST_HOST_OPCODE_24 = 0x24,
|
||||
/** @sa VST_HOST_OPCODE_24 */
|
||||
VST_HOST_OPCODE_CUSTOM = 0x24,
|
||||
VST_HOST_OPCODE_23 = 0x23,
|
||||
/** @sa VST_HOST_OPCODE_23 */
|
||||
VST_HOST_OPCODE_CUSTOM = 0x23,
|
||||
|
||||
VST_HOST_OPCODE_25 = 0x25,
|
||||
VST_HOST_OPCODE_24 = 0x24,
|
||||
|
||||
/** Check if the host supports a certain feature.
|
||||
*
|
||||
* @param p_ptr `char[...]` Zero terminated string for which feature we want to support.
|
||||
* @return @ref VST_STATUS_TRUE if the feature is supported otherwise @ref VST_STATUS_FALSE.
|
||||
*/
|
||||
VST_HOST_OPCODE_25 = 0x25,
|
||||
/** @sa VST_HOST_OPCODE_25 */
|
||||
VST_HOST_OPCODE_SUPPORTS = 0x25,
|
||||
|
||||
VST_HOST_OPCODE_26 = 0x26,
|
||||
/** @sa VST_HOST_OPCODE_26 */
|
||||
VST_HOST_OPCODE_SUPPORTS = 0x26,
|
||||
|
||||
VST_HOST_OPCODE_27 = 0x27,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user