/// <summary> /// Constructs a new instance. /// </summary> /// <param name="plugin"></param> public MidiProcessor(SampleManager sampleManager) { _sampleManager = sampleManager ?? throw new ArgumentNullException(nameof(sampleManager)); }
/// <summary> /// Constructs a new instance. /// </summary> /// <param name="plugin">Must not be null.</param> public AudioProcessor(SampleManager sampleManager) : base(2, 2, 0, noSoundInStop: true) { _sampleManager = sampleManager ?? throw new ArgumentNullException(nameof(sampleManager)); }