summaryrefslogtreecommitdiff
path: root/audio/deadbeef/files/patch-fft.c
diff options
context:
space:
mode:
authorRoman Bogorodskiy <novel@FreeBSD.org>2016-03-03 12:42:55 +0000
committerRoman Bogorodskiy <novel@FreeBSD.org>2016-03-03 12:42:55 +0000
commit3a50f514a1d743021eb4950f762fbe5edd0a2f95 (patch)
tree97f754e51290dafcb78001bf17aa6286cc5945b7 /audio/deadbeef/files/patch-fft.c
parentsecurity/nss: update to 3.23 (diff)
audio/deadbeef: update to 0.7
- New option SC68 for sc68 Atari ST And Amiga player - Drop AO option as the corresponding plugin appears to be gone - Add MPG123 option for the new optional mpg123-based backed for mp3 plugin Approved by: vg (maintainer) via IRC Differential Revision: D5337
Notes
Notes: svn path=/head/; revision=410037
Diffstat (limited to 'audio/deadbeef/files/patch-fft.c')
-rw-r--r--audio/deadbeef/files/patch-fft.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/audio/deadbeef/files/patch-fft.c b/audio/deadbeef/files/patch-fft.c
index d68f37406591..4f3695ba65f5 100644
--- a/audio/deadbeef/files/patch-fft.c
+++ b/audio/deadbeef/files/patch-fft.c
@@ -1,13 +1,13 @@
---- fft.c.orig 2014-02-24 13:56:57.244236013 +0400
-+++ fft.c 2014-02-24 13:57:16.293650674 +0400
+--- fft.c.orig 2014-07-12 20:30:07 UTC
++++ fft.c
@@ -27,6 +27,10 @@
#include <math.h>
#include <complex.h>
-
+
+#if __FreeBSD_version < 902000
+# define cexpf(x) (expf(crealf(x))*(cosf(cimagf(x))+sinf(cimagf(x))*I))
+#endif
+
#define N (DDB_FREQ_BANDS * 2)
-
+
static float hamming[N]; /* hamming window, scaled to sum to 1 */