Add a fast path to effect busses Get the number of outputs in the Synth Duplicate effect buses and process outputs separately Update the API wrappers to handle multichannel processing Accomodate multiple outputs in the VST plugin Publish a 8 stereo version of the LV2 plugin Publish a 8 stereo version of the VST3 plugin WIP Remove the duplication of effects Cleanups Debugs Tweaks Windows free error Port numbers change between plugin versions Fix warning Proper meter backgrounds
52 lines
1.8 KiB
C++
52 lines
1.8 KiB
C++
// SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
// This code is part of the sfizz library and is licensed under a BSD 2-clause
|
|
// license. You should have receive a LICENSE.md file along with the code.
|
|
// If not, contact the sfizz maintainers at https://github.com/sfztools/sfizz
|
|
|
|
#include "SfizzVstIDs.h"
|
|
#include "VstPluginDefs.h"
|
|
#include "public.sdk/source/main/pluginfactory.h"
|
|
#include "pluginterfaces/vst/ivstcomponent.h"
|
|
#include "pluginterfaces/vst/ivstaudioprocessor.h"
|
|
#include "pluginterfaces/vst/ivsteditcontroller.h"
|
|
|
|
class SfizzVstProcessor;
|
|
class SfizzVstProcessorMulti;
|
|
class SfizzVstController;
|
|
|
|
BEGIN_FACTORY_DEF(VSTPLUGIN_VENDOR,
|
|
VSTPLUGIN_URL,
|
|
"mailto:" VSTPLUGIN_EMAIL)
|
|
|
|
DEF_CLASS2 (INLINE_UID_FROM_FUID(SfizzVstProcessor_cid),
|
|
PClassInfo::kManyInstances,
|
|
kVstAudioEffectClass,
|
|
VSTPLUGIN_NAME,
|
|
Vst::kDistributable,
|
|
Vst::PlugType::kInstrumentSynth,
|
|
VSTPLUGIN_VERSION,
|
|
kVstVersionString,
|
|
createInstance<SfizzVstProcessor>)
|
|
|
|
DEF_CLASS2 (INLINE_UID_FROM_FUID(SfizzVstProcessorMulti_cid),
|
|
PClassInfo::kManyInstances,
|
|
kVstAudioEffectClass,
|
|
VSTPLUGIN_NAME,
|
|
Vst::kDistributable,
|
|
Vst::PlugType::kInstrumentSynth,
|
|
VSTPLUGIN_VERSION,
|
|
kVstVersionString,
|
|
createInstance<SfizzVstProcessorMulti>)
|
|
|
|
DEF_CLASS2 (INLINE_UID_FROM_FUID(SfizzVstController_cid),
|
|
PClassInfo::kManyInstances,
|
|
kVstComponentControllerClass,
|
|
VSTPLUGIN_NAME,
|
|
0, // not used here
|
|
"", // not used here
|
|
VSTPLUGIN_VERSION,
|
|
kVstVersionString,
|
|
createInstance<SfizzVstController>)
|
|
|
|
END_FACTORY
|