Host 0x29: Retrieves the path of the currently loaded effect

Unsure what this does with container plug-ins. Does it return the container file?
This commit is contained in:
Xaymar
2025-08-08 02:11:03 +02:00
parent 9f1a61b603
commit 5cef1f300a
+13
View File
@@ -781,7 +781,16 @@ enum VST_HOST_OPCODE {
/** Crash the host if p_ptr isn't nullptr. */
VST_HOST_OPCODE_28 = 0x28,
/** Retrieve the directory of the effect that emitted this.
* The returned value seems to be unchanged for container plug-ins.
*
* @note (VST 2.0+) Available from VST 2.0 onwards.
* @return (Windows) A zero-terminated char buffer of unknown size.
* @return (MacOS) A valid FSSpec structure.
*/
VST_HOST_OPCODE_29 = 0x29,
/** @sa VST_HOST_OPCODE_29 */
VST_HOST_OPCODE_GET_EFFECT_DIRECTORY = 0x29,
/** Refresh everything related to the effect that called this.
* This includes things like parameters, programs, banks, windows, files, meters, streams, sample rate, block size,
@@ -1650,6 +1659,8 @@ enum VST_EFFECT_OPCODE {
VST_EFFECT_OPCODE_21 = 0x21,
/** @sa VST_EFFECT_OPCODE_21 */
VST_EFFECT_OPCODE_INPUT_GET_PROPERTIES = 0x21,
/** @sa VST_EFFECT_OPCODE_21 */
VST_EFFECT_OPCODE_INPUT_STREAM_GET_PROPERTIES = 0x21,
/** Retrieve properties for the given output index.
*
@@ -1661,6 +1672,8 @@ enum VST_EFFECT_OPCODE {
VST_EFFECT_OPCODE_22 = 0x22,
/** @sa VST_EFFECT_OPCODE_22 */
VST_EFFECT_OPCODE_OUTPUT_GET_PROPERTIES = 0x22,
/** @sa VST_EFFECT_OPCODE_22 */
VST_EFFECT_OPCODE_OUTPUT_STREAM_GET_PROPERTIES = 0x22,
/** Retrieve category of this effect.
*