Lines Matching refs:G_PI
277 w = 2 * G_PI * (self->lower_frequency / rate); in gst_audio_wsincband_build_kernel()
288 kernel_lp[i] *= (0.54 - 0.46 * cos (2 * G_PI * i / (len - 1))); in gst_audio_wsincband_build_kernel()
291 kernel_lp[i] *= (0.42 - 0.5 * cos (2 * G_PI * i / (len - 1)) + in gst_audio_wsincband_build_kernel()
292 0.08 * cos (4 * G_PI * i / (len - 1))); in gst_audio_wsincband_build_kernel()
298 kernel_lp[i] *= cos (G_PI * i / (len - 1) - G_PI / 2); in gst_audio_wsincband_build_kernel()
301 kernel_lp[i] *= 0.5 * (1 - cos (2 * G_PI * i / (len - 1))); in gst_audio_wsincband_build_kernel()
314 w = 2 * G_PI * (self->upper_frequency / rate); in gst_audio_wsincband_build_kernel()
325 kernel_hp[i] *= (0.54 - 0.46 * cos (2 * G_PI * i / (len - 1))); in gst_audio_wsincband_build_kernel()
328 kernel_hp[i] *= (0.42 - 0.5 * cos (2 * G_PI * i / (len - 1)) + in gst_audio_wsincband_build_kernel()
329 0.08 * cos (4 * G_PI * i / (len - 1))); in gst_audio_wsincband_build_kernel()
335 kernel_hp[i] *= cos (G_PI * i / (len - 1) - G_PI / 2); in gst_audio_wsincband_build_kernel()
338 kernel_hp[i] *= 0.5 * (1 - cos (2 * G_PI * i / (len - 1))); in gst_audio_wsincband_build_kernel()