VST_EFFECT_OPCODE_GETNAME takes a 64-byte buffer
This commit is contained in:
@@ -17,6 +17,8 @@
|
|||||||
#define VST_ALIGNMENT 8
|
#define VST_ALIGNMENT 8
|
||||||
#define VST_MAGICNUMBER 'VstP'
|
#define VST_MAGICNUMBER 'VstP'
|
||||||
|
|
||||||
|
#define VST_NAME_BUFFER_SIZE 64
|
||||||
|
|
||||||
#pragma pack(push, VST_ALIGNMENT)
|
#pragma pack(push, VST_ALIGNMENT)
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
@@ -202,11 +204,7 @@ enum VST_EFFECT_OPCODE {
|
|||||||
|
|
||||||
/* Retrieve the effect name into the ptr buffer.
|
/* Retrieve the effect name into the ptr buffer.
|
||||||
*
|
*
|
||||||
* History:
|
* @param p_ptr char[64] VST2.4 host, might be lower with earlier hosts?
|
||||||
* - 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]
|
|
||||||
* @return Always 0, even on failure.
|
* @return Always 0, even on failure.
|
||||||
*/
|
*/
|
||||||
VST_EFFECT_OPCODE_GETNAME = 0x2D,
|
VST_EFFECT_OPCODE_GETNAME = 0x2D,
|
||||||
|
|||||||
Reference in New Issue
Block a user