summaryrefslogtreecommitdiff
path: root/src/mixer
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2020-02-02 21:21:57 -0800
committerRosen Penev <rosenp@gmail.com>2020-03-25 18:54:15 -0700
commit85c27840a303145e887d7d30f0141236c21aafef (patch)
treef84253a9f17d15639fcbbfab18dbcb34e006a6cf /src/mixer
parent81c16273c543822fa8b87522cb1146a7859edd7a (diff)
treewide: use boost::lround when std::round is unavailable
This is the case with uClibc-ng currently. Signed-off-by: Rosen Penev <rosenp@gmail.com> (cherry picked from commit 769cd0ee9f0cf8ceb026aa751b5d4a390bb5dbdc) (changed define to match master)
Diffstat (limited to 'src/mixer')
-rw-r--r--src/mixer/plugins/WinmmMixerPlugin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mixer/plugins/WinmmMixerPlugin.cxx b/src/mixer/plugins/WinmmMixerPlugin.cxx
index 08e2b11b9..4da01c37e 100644
--- a/src/mixer/plugins/WinmmMixerPlugin.cxx
+++ b/src/mixer/plugins/WinmmMixerPlugin.cxx
@@ -20,13 +20,13 @@
#include "mixer/MixerInternal.hxx"
#include "output/OutputAPI.hxx"
#include "output/plugins/WinmmOutputPlugin.hxx"
+#include "util/Math.hxx"
#include <mmsystem.h>
#include <stdexcept>
#include <assert.h>
-#include <math.h>
#include <windows.h>
class WinmmMixer final : public Mixer {