*
* #GstFFTS16 provides a FFT implementation and related functions for
* signed 16 bit integer samples. To use this call gst_fft_s16_new() for
- * allocating a #GstFFTS16 instance with the appropiate parameters and
+ * allocating a #GstFFTS16 instance with the appropriate parameters and
* then call gst_fft_s16_fft() or gst_fft_s16_inverse_fft() to perform the
* FFT or inverse FFT on a buffer of samples.
*
break;
case GST_FFT_WINDOW_HAMMING:
for (i = 0; i < len; i++)
- timedata[i] *= (0.53836 - 0.46164 * cos (2.0 * M_PI * i / len));
+ timedata[i] *= (0.53836 - 0.46164 * cos (2.0 * G_PI * i / len));
break;
case GST_FFT_WINDOW_HANN:
for (i = 0; i < len; i++)
- timedata[i] *= (0.5 - 0.5 * cos (2.0 * M_PI * i / len));
+ timedata[i] *= (0.5 - 0.5 * cos (2.0 * G_PI * i / len));
break;
case GST_FFT_WINDOW_BARTLETT:
for (i = 0; i < len; i++)