public void GetSpectrum(float[] spectrumarray, int numvalues, int channeloffset, Dsp.FFTWindow windowtype) { GetSpectrum(this.DangerousGetHandle(), spectrumarray, numvalues, channeloffset, windowtype); }
private static extern Error.Code GetSpectrum(IntPtr system, [MarshalAs(UnmanagedType.LPArray)] float[] spectrumarray, int numvalues, int channeloffset, Dsp.FFTWindow windowtype);
public float[] GetSpectrum(int numvalues, int channeloffset, Dsp.FFTWindow windowtype) { float[] SpectrumArray = new float[numvalues]; this.GetSpectrum(SpectrumArray, numvalues, channeloffset, windowtype); return(SpectrumArray); }