Timer: remove unused method Synchronize()

This commit is contained in:
Max Kellermann 2014-01-09 12:56:57 +01:00
parent dd82370a80
commit 735241f049
2 changed files with 0 additions and 15 deletions

View File

@ -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);
}

View File

@ -42,8 +42,6 @@ public:
* Returns the number of milliseconds to sleep to get back to sync.
*/
unsigned GetDelay() const;
void Synchronize() const;
};
#endif