/// <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]; }