VST 3 SDK  VST 3.7
SDK for developing VST plug-in
VST 3 - VST 2.x Wrapper

Table of Contents

Helper Class wrapping a VST 3 plug-in to a VST 2.4 plug-in

Introduction

The VST 3 SDK comes with a helper class which wraps one VST 3 Audio Processor and Edit Controller to a VST 2.x plug-in.

How does it work?

You just need to add public.sdk/source/vst/vst2wrapper/vst2wrapper.sdk.cpp to your project and add the following code somewhere in your sources:

//------------------------------------------------------------------------
//------------------------------------------------------------------------
::AudioEffect* createEffectInstance (audioMasterCallback audioMaster)
{
return Steinberg::Vst::Vst2Wrapper::create (GetPluginFactory (), kAudioProcessorCID, kVst2UniqueID, audioMaster);
}
Empty

Copyright ©2020 Steinberg Media Technologies GmbH. All Rights Reserved. This documentation is under this license.