public unsafe static void ForwardTransform(Complex *buffer, int length, bool swap) { Fourier.ForwardTransformOrg(buffer, length); if (swap) { Fourier.SwapLR(buffer, length / 2); Fourier.SwapLR(buffer + length / 2, length / 2); } }
public unsafe static void ForwardTransform(Complex *buffer, int length, bool swap) { Fourier.ForwardTransformOrg(buffer, length); if (swap) { Fourier.SwapLR(buffer, length / 2); Fourier.SwapLR(buffer + length / 2, length / 2); } }