ifft_config   xtlang


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/libs/external/fft.xtm

Implementation

(bind-func ifft_config:[IFFT_Config*,i64]*
  (lambda (len)
    (let ((sz:i64 0)
          (findSize (kiss_fft_alloc (i64toi32 len) 1 null (ref sz)))
          (config:i8* (alloc sz))
          (res (kiss_fft_alloc (i64toi32 len) 1 config (ref sz))))
      (if (null? res) (println "error constructing ifft config!"))
      (IFFT_Config res))))


Back to Index

Similar Entries