diff options
author | Nino Miškić-Pletenac <nino.mip@gmail.com> | 2017-06-03 12:00:00 +0200 |
---|---|---|
committer | Nino Miškić-Pletenac <nino.mip@gmail.com> | 2017-06-03 12:00:00 +0200 |
commit | 54cc99f5924733f415c4d1ce274de659e1ff7460 (patch) | |
tree | a626d4927704369003afb4aba972376a9b142922 /src/util/math.h | |
parent | 6587080cd5c40d30ab96e3a5d79d9818152d4c93 (diff) |
Make AutoDJ use start/end cue points
Diffstat (limited to 'src/util/math.h')
-rw-r--r-- | src/util/math.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/math.h b/src/util/math.h index d4f2edcf80..f2213fa604 100644 --- a/src/util/math.h +++ b/src/util/math.h @@ -29,6 +29,7 @@ using std::fabs; #define math_max std::max #define math_min std::min #define math_max3(a, b, c) math_max(math_max((a), (b)), (c)) +#define math_min3(a, b, c) math_min(math_min((a), (b)), (c)) // Restrict value to the range [min, max]. Undefined behavior if min > max. template <typename T> |