MPD
0.20.15
|
#include <Timer.hxx>
Public Member Functions | |
Timer (AudioFormat af) | |
bool | IsStarted () const |
void | Start () |
void | Reset () |
void | Add (size_t size) |
std::chrono::steady_clock::duration | GetDelay () const |
Returns the duration to sleep to get back to sync. More... | |
|
explicit |
void Timer::Add | ( | size_t | size | ) |
std::chrono::steady_clock::duration Timer::GetDelay | ( | ) | const |
Returns the duration to sleep to get back to sync.
void Timer::Reset | ( | ) |
void Timer::Start | ( | ) |