Skip to content

Commit ba4413f

Browse files
committed
0x29 retrieves the path to the current effect
1 parent 18a25fe commit ba4413f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

vst.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,16 @@ enum VST_HOST_OPCODE {
794794

795795
VST_HOST_OPCODE_28 = 0x28,
796796

797+
/** Retrieve the directory of the effect that emitted this.
798+
* The returned value seems to be unchanged for container plug-ins.
799+
*
800+
* @note (VST 2.0+) Available from VST 2.0 onwards.
801+
* @return (Windows) A zero-terminated char buffer of unknown size.
802+
* @return (MacOS) A valid FSSpec structure.
803+
*/
797804
VST_HOST_OPCODE_29 = 0x29,
805+
/** @sa VST_HOST_OPCODE_29 */
806+
VST_HOST_OPCODE_GET_EFFECT_DIRECTORY = 0x29,
798807

799808
/** Refresh everything related to the effect that emitted this event.
800809
* The plug-in should only emit this if something important has changed that the host doesn't already know about.

0 commit comments

Comments
 (0)