## gstfft gstfft — General FFT functions and declarations |

## Synopsis

    #include <gst/fft/gstfft.h>

    enum                GstFFTWindow;
    gint                gst_fft_next_fast_length            (gint n);

## Description

This library includes general definitions and functions, useful for all typed FFT classes.

## Details

### enum GstFFTWindow

    typedef enum {
      GST_FFT_WINDOW_RECTANGULAR,
      GST_FFT_WINDOW_HAMMING,
      GST_FFT_WINDOW_HANN,
      GST_FFT_WINDOW_BARTLETT,
      GST_FFT_WINDOW_BLACKMAN
    } GstFFTWindow;

The various window functions available.

`GST_FFT_WINDOW_RECTANGULAR` | Rectangular window
`GST_FFT_WINDOW_HAMMING` | Hamming window
`GST_FFT_WINDOW_HANN` | Hann (sometimes also called Hanning) window
`GST_FFT_WINDOW_BARTLETT` | Bartlett window
`GST_FFT_WINDOW_BLACKMAN` | Blackman window

### gst_fft_next_fast_length ()

    gint                gst_fft_next_fast_length            (gint n);

Returns the next number to `n` that is entirely a product of 2, 3 and 5. Using this as the `len` parameter for the different GstFFT types will provide the best performance.

`n` : | Number for which the next fast length should be returned
Returns : | the next fast FFT length.