From e454b8cfad52523f96edafefd6e6392646c005de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Wed, 16 Jan 2008 20:03:58 +0100 Subject: Remove function never used in xine. --- src/post/visualizations/fft.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/post/visualizations/fft.c') diff --git a/src/post/visualizations/fft.c b/src/post/visualizations/fft.c index e9a99911a..01044987b 100644 --- a/src/post/visualizations/fft.c +++ b/src/post/visualizations/fft.c @@ -183,18 +183,6 @@ double fft_amp (int n, complex_t wave[], int bits) return (hypot (REAL(n), IMAG(n))); } -/* - * Calculate phase of component n in the decimated wave[] array. - */ -double fft_phase (int n, complex_t wave[], int bits) -{ - n = PERMUTE (n, bits); - if (REAL(n) != 0.0) - return (atan (IMAG(n) / REAL(n))); - else - return (0.0); -} - /* * Scale sampled values. * Do this *before* the fft. -- cgit v1.2.3