summaryrefslogtreecommitdiffstats
path: root/src/vinylcontrol/vinylcontrolxwax.cpp
diff options
context:
space:
mode:
authorRJ Ryan <rryan@mixxx.org>2014-04-24 17:32:34 -0400
committerRJ Ryan <rryan@mixxx.org>2014-04-25 10:38:06 -0400
commit5517d3e4e657354696503e876c023bc1dd6ef549 (patch)
treecb4210721772aee720828d2666e81c5fc595101d /src/vinylcontrol/vinylcontrolxwax.cpp
parent93bd3fe48794d3908f3937bdf3edbfcb21b3039e (diff)
Refactor use of math and other headers across the codebase.
* Delete mathstuff.h and defs.h. * Move typedefs into util/types.h. * Move definitions into util/defs.h. * Use std::min and std::max for math_min and math_max. * Replace math_clamp with a template function to prevent repeated sub-expressions. * Add a Result enum for SoundSource::open() and SoundSource::parseHeader(). * Misc. other header-related cleanups.
Diffstat (limited to 'src/vinylcontrol/vinylcontrolxwax.cpp')
-rw-r--r--src/vinylcontrol/vinylcontrolxwax.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vinylcontrol/vinylcontrolxwax.cpp b/src/vinylcontrol/vinylcontrolxwax.cpp
index 08ffbf936a..1def93c2e1 100644
--- a/src/vinylcontrol/vinylcontrolxwax.cpp
+++ b/src/vinylcontrol/vinylcontrolxwax.cpp
@@ -21,13 +21,14 @@
#include <QtDebug>
#include <limits.h>
-#include <math.h>
#include "vinylcontrol/vinylcontrolxwax.h"
#include "util/timer.h"
#include "controlobjectthread.h"
#include "controlobject.h"
#include "sampleutil.h"
+#include "util/math.h"
+#include "util/defs.h"
/****** TODO *******
Stuff to maybe implement here