pub fn ifft_to_real(
spectrum: &mut [f32],
out_real: &mut [f32],
) -> Result<(), AudioError>Expand description
Inverse FFT of an interleaved-complex spectrum, writing the real part of the time-domain result.
spectrum:2 * Ninterleaved complex bins,Na power of two. Clobbered in place (holds the full complex inverse on return).out_real: at leastNfloats; receivesRe(x[n])forn = 0..N.
The inverse is 1/N-normalised (via fft_radix2), so pairing this with a
forward real FFT reconstructs the original samples — the ISTFT synthesis path.
Returns AudioError::InvalidParameter if the spectrum length is invalid,
or AudioError::OutputBufferTooSmall if out_real is short.