summaryrefslogtreecommitdiffstats
path: root/src/engine/readaheadmanager.h
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/engine/readaheadmanager.h
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/engine/readaheadmanager.h')
-rw-r--r--src/engine/readaheadmanager.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/engine/readaheadmanager.h b/src/engine/readaheadmanager.h
index 3f6f4f8ccc..9e6d69f6a9 100644
--- a/src/engine/readaheadmanager.h
+++ b/src/engine/readaheadmanager.h
@@ -9,7 +9,8 @@
#include <QMutex>
#include <QPair>
-#include "defs.h"
+#include "util/types.h"
+#include "util/math.h"
struct Hint;
class EngineControl;