diff options
Diffstat (limited to 'intern/audaspace')
-rw-r--r-- | intern/audaspace/FX/AUD_ButterworthReader.cpp | 4 | ||||
-rw-r--r-- | intern/audaspace/FX/AUD_HighpassReader.cpp | 4 | ||||
-rw-r--r-- | intern/audaspace/FX/AUD_LowpassReader.cpp | 4 |
3 files changed, 12 insertions, 0 deletions
diff --git a/intern/audaspace/FX/AUD_ButterworthReader.cpp b/intern/audaspace/FX/AUD_ButterworthReader.cpp index adcae87ce9f..2129dfef798 100644 --- a/intern/audaspace/FX/AUD_ButterworthReader.cpp +++ b/intern/audaspace/FX/AUD_ButterworthReader.cpp @@ -29,6 +29,10 @@ #include <cstring> #include <cmath> +#ifndef M_PI +#define M_PI 3.14159265358979323846 +#endif + #define BWPB41 0.76536686473 #define BWPB42 1.84775906502 #define CC channels + channel diff --git a/intern/audaspace/FX/AUD_HighpassReader.cpp b/intern/audaspace/FX/AUD_HighpassReader.cpp index 8240854fc06..c83a9588edf 100644 --- a/intern/audaspace/FX/AUD_HighpassReader.cpp +++ b/intern/audaspace/FX/AUD_HighpassReader.cpp @@ -29,6 +29,10 @@ #include <cstring> #include <cmath> +#ifndef M_PI +#define M_PI 3.14159265358979323846 +#endif + #define CC channels + channel AUD_HighpassReader::AUD_HighpassReader(AUD_IReader* reader, float frequency, diff --git a/intern/audaspace/FX/AUD_LowpassReader.cpp b/intern/audaspace/FX/AUD_LowpassReader.cpp index 373d0218360..4e8492e098b 100644 --- a/intern/audaspace/FX/AUD_LowpassReader.cpp +++ b/intern/audaspace/FX/AUD_LowpassReader.cpp @@ -29,6 +29,10 @@ #include <cstring> #include <cmath> +#ifndef M_PI +#define M_PI 3.14159265358979323846 +#endif + #define CC channels + channel AUD_LowpassReader::AUD_LowpassReader(AUD_IReader* reader, float frequency, |