[Migration Guide] v0.3.x -> v0.4.x #7
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This issue contains necessary information for migration from v0.3.x as well as newly supported features in v0.4.x.
Legend
Migration Guide v0.3.4 to v0.4.0
includedirectory.Important Changes
VST_HOST_OPCODE_GET_SAMPLE_RATEandVST_HOST_OPCODE_GET_BLOCK_SIZEare now available for querying the currently set sample rate and block size. This is helpful for hosts which suck at implementing VST 2.x properly. This theme strangely continues into VST 3.x hosts too.VST_HOST_OPCODE_EDITOR_RESIZEto request a resize of their editor window as long as the host supportssizeWindow.VST_HOST_OPCODE_GET_ACTIVE_THREAD. Very useful to prevent memory corruption in cases where UI and Processing happen asynchronously.Not-so-important Changes
VST_HOST_OPCODE_LANGUAGEopcode. So far it seems to be 0 or 1 only.VST_HOST_OPCODE_GET_EFFECT_DIRECTORYopcode. It is unfortunately limited to a relatively short maximum path length.VST_HOST_OPCODE_OUTPUT_GET_SPEAKER_ARRANGEMENTandVST_HOST_OPCODE_INPUT_GET_SPEAKER_ARRANGEMENT. I don't know why these exist.VST_HOST_OPCODE_INPUT_LATENCYandVST_HOST_OPCODE_OUTPUT_LATENCY, though all hosts I tested it with limited this to ASIO devices only. Not sure what use it could have.VST_HOST_OPCODE_EDITOR_UPDATErequests a refresh of all information related to the plug-in, not just the editorVST_HOST_OPCODE_PARAM_START_EDITandVST_HOST_OPCODE_PARAM_STOP_EDITare actually used to lock and unlock parameters from modification in the host through any means. Support for this behavior varies by host, but many respect the Plug-ins wishes.VST_EFFECT_OPCODE_EDITOR_VKEY_DOWNandVST_EFFECT_OPCODE_EDITOR_VKEY_UP