changeset 573:bdc9bb371a9f

...
author Chris Cannam
date Fri, 13 Mar 2009 17:53:43 +0000
parents d3faa6447c5b
children 2d551c765d51
files base/AudioLevel.cpp base/LogRange.cpp base/Pitch.cpp base/RangeMapper.cpp plugin/plugins/SamplePlayer.cpp system/System.h
diffstat 6 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/base/AudioLevel.cpp	Fri Mar 13 11:06:11 2009 +0000
+++ b/base/AudioLevel.cpp	Fri Mar 13 17:53:43 2009 +0000
@@ -24,6 +24,7 @@
 #include <map>
 #include <vector>
 #include <cassert>
+#include "system/System.h"
 
 const float AudioLevel::DB_FLOOR = -1000.f;
 
--- a/base/LogRange.cpp	Fri Mar 13 11:06:11 2009 +0000
+++ b/base/LogRange.cpp	Fri Mar 13 17:53:43 2009 +0000
@@ -14,6 +14,7 @@
 */
 
 #include "LogRange.h"
+#include "system/System.h"
 
 #include <algorithm>
 #include <iostream>
--- a/base/Pitch.cpp	Fri Mar 13 11:06:11 2009 +0000
+++ b/base/Pitch.cpp	Fri Mar 13 17:53:43 2009 +0000
@@ -15,6 +15,7 @@
 
 #include "Pitch.h"
 #include "Preferences.h"
+#include "system/System.h"
 
 #include <cmath>
 
--- a/base/RangeMapper.cpp	Fri Mar 13 11:06:11 2009 +0000
+++ b/base/RangeMapper.cpp	Fri Mar 13 17:53:43 2009 +0000
@@ -14,6 +14,7 @@
 */
 
 #include "RangeMapper.h"
+#include "system/System.h"
 
 #include <cassert>
 #include <cmath>
--- a/plugin/plugins/SamplePlayer.cpp	Fri Mar 13 11:06:11 2009 +0000
+++ b/plugin/plugins/SamplePlayer.cpp	Fri Mar 13 17:53:43 2009 +0000
@@ -18,6 +18,7 @@
 */
 
 #include "SamplePlayer.h"
+#include "system/System.h"
 
 #include <dssi.h>
 #include <cmath>
--- a/system/System.h	Fri Mar 13 11:06:11 2009 +0000
+++ b/system/System.h	Fri Mar 13 17:53:43 2009 +0000
@@ -121,6 +121,10 @@
 extern double princarg(double a);
 extern float princargf(float a);
 
+#ifdef USE_POW_NO_F
+#define powf pow
+#endif
+
 #endif /* ! _SYSTEM_H_ */