2 Commits

Author SHA1 Message Date
Xaymar e9fcf1408b Host 0x0E -> 0x0D: Missed one of the off-by-1 errors
This explains why my test code using the header wasn't working.
2025-08-08 02:38:09 +02:00
Xaymar d23a117ecc Add editorconfig file for automatically trimming whitespace 2025-08-08 02:38:09 +02:00
2 changed files with 23 additions and 4 deletions
+17
View File
@@ -0,0 +1,17 @@
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file.
[*]
insert_final_newline = true
trim_trailing_whitespace = true
charset = utf-8
indent_style = tab
indent_size = 4
[*.{yml,yaml}]
insert_final_newline = true
trim_trailing_whitespace = true
charset = utf-8
indent_style = space
indent_size = 2
+6 -4
View File
@@ -597,8 +597,6 @@ enum VST_HOST_OPCODE {
VST_HOST_OPCODE_0C = 0x0C,
VST_HOST_OPCODE_0D = 0x0D,
/** 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
* @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.
*/
VST_HOST_OPCODE_0D = 0x0D,
/** @sa VST_HOST_OPCODE_0D */
VST_HOST_OPCODE_IO_MODIFIED = 0x0D,
VST_HOST_OPCODE_0E = 0x0E,
/** @sa VST_HOST_OPCODE_0E */
VST_HOST_OPCODE_IO_MODIFIED = 0x0E,
VST_HOST_OPCODE_0F = 0x0F,
@@ -691,8 +691,10 @@ enum VST_HOST_OPCODE {
VST_HOST_OPCODE_26 = 0x26,
/** Crash the host if p_ptr isn't nullptr. */
VST_HOST_OPCODE_27 = 0x27,
/** Crash the host if p_ptr isn't nullptr. */
VST_HOST_OPCODE_28 = 0x28,
VST_HOST_OPCODE_29 = 0x29,