예제 #1
0
        /// <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);
        }
예제 #2
0
 public PluginEditor(PluginParameters parameters)
 {
     _parameters = parameters ?? throw new ArgumentNullException(nameof(parameters));
     _view       = new WinFormsControlWrapper <PluginEditorView>();
 }
예제 #3
0
 /// <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));
 }