Host 0x0E -> 0x0D: Missed one of the off-by-1 errors

This explains why my test code using the header wasn't working.
This commit is contained in:
Xaymar
2025-08-08 02:37:15 +02:00
parent d23a117ecc
commit e9fcf1408b
+6 -4
View File
@@ -597,8 +597,6 @@ enum VST_HOST_OPCODE {
VST_HOST_OPCODE_0C = 0x0C, VST_HOST_OPCODE_0C = 0x0C,
VST_HOST_OPCODE_0D = 0x0D,
/** Notify the host that numInputs/numOutputs/delay/numParams has changed. /** Notify the host that numInputs/numOutputs/delay/numParams has changed.
* Only supported if the host replies @ref VST_STATUS_TRUE to @ref VST_HOST_OPCODE_SUPPORTS query for * Only supported if the host replies @ref VST_STATUS_TRUE to @ref VST_HOST_OPCODE_SUPPORTS query for
* @ref vst_host_supports_t.acceptIOChanges. * @ref vst_host_supports_t.acceptIOChanges.
@@ -609,9 +607,11 @@ enum VST_HOST_OPCODE {
* *
* @return @ref VST_STATUS_TRUE if supported and handled otherwise @ref VST_STATUS_FALSE. * @return @ref VST_STATUS_TRUE if supported and handled otherwise @ref VST_STATUS_FALSE.
*/ */
VST_HOST_OPCODE_0D = 0x0D,
/** @sa VST_HOST_OPCODE_0D */
VST_HOST_OPCODE_IO_MODIFIED = 0x0D,
VST_HOST_OPCODE_0E = 0x0E, VST_HOST_OPCODE_0E = 0x0E,
/** @sa VST_HOST_OPCODE_0E */
VST_HOST_OPCODE_IO_MODIFIED = 0x0E,
VST_HOST_OPCODE_0F = 0x0F, VST_HOST_OPCODE_0F = 0x0F,
@@ -691,8 +691,10 @@ enum VST_HOST_OPCODE {
VST_HOST_OPCODE_26 = 0x26, VST_HOST_OPCODE_26 = 0x26,
/** Crash the host if p_ptr isn't nullptr. */
VST_HOST_OPCODE_27 = 0x27, VST_HOST_OPCODE_27 = 0x27,
/** Crash the host if p_ptr isn't nullptr. */
VST_HOST_OPCODE_28 = 0x28, VST_HOST_OPCODE_28 = 0x28,
VST_HOST_OPCODE_29 = 0x29, VST_HOST_OPCODE_29 = 0x29,