vst2sdk

A clean room reverse engineering project for the VST 2.x interface
Log | Files | Refs | README | LICENSE

commit 9b446b5d0e9b0ea8ac1927131339d982790b20ae
parent 1c7ff5910cb2e5f681bf75bb9be4919d1701b798
Author: Michael Fabian 'Xaymar' Dirks <info@xaymar.com>
Date:   Tue, 26 Jan 2021 16:55:45 +0100

VST_EFFECT_OPCODE_GETNAME takes a 64-byte buffer

Diffstat:
Mvst.h | 8+++-----
1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/vst.h b/vst.h @@ -17,6 +17,8 @@ #define VST_ALIGNMENT 8 #define VST_MAGICNUMBER 'VstP' +#define VST_NAME_BUFFER_SIZE 64 + #pragma pack(push, VST_ALIGNMENT) #ifdef __cplusplus @@ -202,11 +204,7 @@ enum VST_EFFECT_OPCODE { /* Retrieve the effect name into the ptr buffer. * - * History: - * - ReaComp, ReaXComp: Seems to be char[32] - * - ReaFir: Must be more than char[32], plugin is writing 47 bytes. char[48]? - * - * @param p_ptr char[48] + * @param p_ptr char[64] VST2.4 host, might be lower with earlier hosts? * @return Always 0, even on failure. */ VST_EFFECT_OPCODE_GETNAME = 0x2D,