aboutsummaryrefslogtreecommitdiffstats
path: root/src/Timer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Timer.cxx')
-rw-r--r--src/Timer.cxx13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/Timer.cxx b/src/Timer.cxx
index a132977f1..f6f5cffc2 100644
--- a/src/Timer.cxx
+++ b/src/Timer.cxx
@@ -22,8 +22,6 @@
#include "AudioFormat.hxx"
#include "system/Clock.hxx"
-#include <glib.h>
-
#include <limits>
#include <assert.h>
@@ -67,14 +65,3 @@ unsigned Timer::GetDelay() const
return delay;
}
-
-void Timer::Synchronize() const
-{
- int64_t sleep_duration;
-
- assert(started);
-
- sleep_duration = time - MonotonicClockUS();
- if (sleep_duration > 0)
- g_usleep(sleep_duration);
-}