/// <summary> /// Default constructor. /// </summary> public AudioProcessor(PluginParameters parameters) : base(AudioInputCount, AudioOutputCount, InitialTailSize, noSoundInStop: false) { Throw.IfArgumentIsNull(parameters, nameof(parameters)); // one set of parameters is shared for both channels. Left = new Dsp.Delay(parameters.DelayParameters); Right = new Dsp.Delay(parameters.DelayParameters); }
public PluginEditor(PluginParameters parameters) { _parameters = parameters ?? throw new ArgumentNullException(nameof(parameters)); _view = new WinFormsControlWrapper <PluginEditorView>(); }
/// <summary> /// Constructs an instance on the plugin parameter factory /// </summary> /// <param name="parameters">Must not be null.</param> public PluginPrograms(PluginParameters parameters) { _parameters = parameters ?? throw new ArgumentNullException(nameof(parameters)); }