diff options
-rw-r--r-- | src/Timer.cxx | 13 | ||||
-rw-r--r-- | src/Timer.hxx | 2 |
2 files changed, 0 insertions, 15 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); -} diff --git a/src/Timer.hxx b/src/Timer.hxx index c8b756e9c..96e25b27a 100644 --- a/src/Timer.hxx +++ b/src/Timer.hxx @@ -42,8 +42,6 @@ public: * Returns the number of milliseconds to sleep to get back to sync. */ unsigned GetDelay() const; - - void Synchronize() const; }; #endif |