Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DspSettings"/> class.
 /// </summary>
 /// <param name="sourceChannelCount">The number of source channels.</param>
 /// <param name="destinationChannelCount">The number of destination channels.</param>
 public DspSettings(int sourceChannelCount, int destinationChannelCount)
 {
     NativeInstance = new DspSettingsNative();
     SrcChannelCount = sourceChannelCount;
     DstChannelCount = destinationChannelCount;
     MatrixCoefficients = new float[sourceChannelCount * destinationChannelCount];
     DelayTimes = new float[destinationChannelCount];
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DspSettings"/> class.
 /// </summary>
 /// <param name="sourceChannelCount">The number of source channels.</param>
 /// <param name="destinationChannelCount">The number of destination channels.</param>
 public DspSettings(int sourceChannelCount, int destinationChannelCount)
 {
     NativeInstance     = new DspSettingsNative();
     SrcChannelCount    = sourceChannelCount;
     DstChannelCount    = destinationChannelCount;
     MatrixCoefficients = new float[sourceChannelCount * destinationChannelCount];
     DelayTimes         = new float[destinationChannelCount];
 }