diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2008-01-16 20:03:58 +0100 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2008-01-16 20:03:58 +0100 |
commit | e454b8cfad52523f96edafefd6e6392646c005de (patch) | |
tree | eea3050fcea2a91ca2960ba98b1791d1f756ccb3 | |
parent | e0f1a28dfc53c6ef22307e6e474605e47539f035 (diff) | |
download | xine-lib-e454b8cfad52523f96edafefd6e6392646c005de.tar.gz xine-lib-e454b8cfad52523f96edafefd6e6392646c005de.tar.bz2 |
Remove function never used in xine.
-rw-r--r-- | src/post/visualizations/fft.c | 12 | ||||
-rw-r--r-- | src/post/visualizations/fft.h | 1 |
2 files changed, 0 insertions, 13 deletions
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 @@ -184,18 +184,6 @@ double fft_amp (int n, complex_t wave[], int bits) } /* - * 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. */ diff --git a/src/post/visualizations/fft.h b/src/post/visualizations/fft.h index dff3cd7e8..1600430bc 100644 --- a/src/post/visualizations/fft.h +++ b/src/post/visualizations/fft.h @@ -44,7 +44,6 @@ void fft_compute (fft_t *fft, complex_t wave[]); void fft_window (fft_t *fft, complex_t wave[]); double fft_amp (int n, complex_t wave[], int bits); -double fft_phase (int n, complex_t wave[], int bits); void fft_scale (complex_t wave[], int bits); #endif /* FFT_H */ |