Skip to content

Commit 18a25fe

Browse files
committed
0x2F appears to be a path query
1 parent 071de5a commit 18a25fe

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

vst.h

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -837,8 +837,24 @@ enum VST_HOST_OPCODE {
837837
/** @sa VST_HOST_OPCODE_2C */
838838
VST_HOST_OPCODE_PARAM_UNLOCK = 0x2C,
839839

840+
//--------------------------------------------------------------------------------
841+
// VST 2.2
842+
//--------------------------------------------------------------------------------
843+
840844
VST_HOST_OPCODE_2D = 0x2D,
845+
841846
VST_HOST_OPCODE_2E = 0x2E,
847+
848+
/**
849+
* When queried by the plug-in shortly after @ref VST_EFFECT_OPCODE_PROGRAM_LOAD it often crashes compatible hosts
850+
* with a memory access exception. This exception can be controlled with p_ptr but it's unclear what that is
851+
* pointing at so far. In the event that it doesn't crash the memory address we pointed at changes to a path.
852+
*
853+
* @todo Figure out what p_ptr is.
854+
* @note (VST 2.2+) Available from VST 2.2 onwards.
855+
* @deprecated (VST 2.4+) Deprecated from VST 2.4 onwards.
856+
* @param p_ptr A pointer to something
857+
*/
842858
VST_HOST_OPCODE_2F = 0x2F,
843859

844860
//--------------------------------------------------------------------------------

0 commit comments

Comments
 (0)