コード例 #1
0
ファイル: MidiProcessor.cs プロジェクト: PeterPopma/WaveCraft
 /// <summary>
 /// Constructs a new instance.
 /// </summary>
 /// <param name="plugin"></param>
 public MidiProcessor(SampleManager sampleManager)
 {
     _sampleManager = sampleManager ?? throw new ArgumentNullException(nameof(sampleManager));
 }
コード例 #2
0
 /// <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));
 }