summaryrefslogtreecommitdiff
path: root/libs/qm-dsp/dsp/tonal
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-08-27 17:20:27 +0200
committerRobin Gareus <robin@gareus.org>2016-08-27 17:20:27 +0200
commit81542d20aa6934ca51a885cd671afdc48000d3cb (patch)
treea7cf256526c4551e9624d5d1204de64d337c198a /libs/qm-dsp/dsp/tonal
parentf814e68e30c67fae7990d37ad4946496a6e56aa1 (diff)
No discrimination against systems which don't have a PI define
Diffstat (limited to 'libs/qm-dsp/dsp/tonal')
-rw-r--r--libs/qm-dsp/dsp/tonal/ChangeDetectionFunction.cpp2
-rw-r--r--libs/qm-dsp/dsp/tonal/TonalEstimator.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/libs/qm-dsp/dsp/tonal/ChangeDetectionFunction.cpp b/libs/qm-dsp/dsp/tonal/ChangeDetectionFunction.cpp
index a572da6ee8..9b1a3219ac 100644
--- a/libs/qm-dsp/dsp/tonal/ChangeDetectionFunction.cpp
+++ b/libs/qm-dsp/dsp/tonal/ChangeDetectionFunction.cpp
@@ -16,7 +16,7 @@
#include "ChangeDetectionFunction.h"
#ifndef PI
-#define PI (3.14159265358979232846)
+#define PI (3.14159265358979323846)
#endif
diff --git a/libs/qm-dsp/dsp/tonal/TonalEstimator.cpp b/libs/qm-dsp/dsp/tonal/TonalEstimator.cpp
index 72b6f85c83..03e22cc804 100644
--- a/libs/qm-dsp/dsp/tonal/TonalEstimator.cpp
+++ b/libs/qm-dsp/dsp/tonal/TonalEstimator.cpp
@@ -19,7 +19,7 @@
#include <iostream>
#ifndef PI
-#define PI (3.14159265358979232846)
+#define PI (3.14159265358979323846)
#endif
TonalEstimator::TonalEstimator()