SchemaFactor.Vst.MidiMapperX.Plugin.CreateAudioProcessor C# (CSharp) Method

CreateAudioProcessor() protected method

Creates a default instance and reuses that for all threads.
protected CreateAudioProcessor ( IVstPluginAudioProcessor instance ) : IVstPluginAudioProcessor
instance IVstPluginAudioProcessor A reference to the default instance or null.
return IVstPluginAudioProcessor
        protected override IVstPluginAudioProcessor CreateAudioProcessor(IVstPluginAudioProcessor instance)
        {
            if (instance == null) return new AudioProcessor(this);
            return instance;
        }