diff options
Diffstat (limited to '')
-rw-r--r-- | src/Timer.cxx | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/Timer.cxx b/src/Timer.cxx index 661aa29ee..f6f5cffc2 100644 --- a/src/Timer.cxx +++ b/src/Timer.cxx @@ -22,13 +22,9 @@ #include "AudioFormat.hxx" #include "system/Clock.hxx" -#include <glib.h> - #include <limits> #include <assert.h> -#include <limits.h> -#include <stddef.h> Timer::Timer(const AudioFormat af) : time(0), @@ -69,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); -} |