mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-10 23:56:43 +02:00
time stuff
git-svn-id: svn://elaine/murooma/trunk@303 d8a302eb-03bc-478d-80e4-98257eca68ef
This commit is contained in:
parent
62fc7eab8f
commit
e5f064a01f
2 changed files with 2 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
#include <boost/program_options.hpp>
|
||||
#include <chrono>
|
||||
#include <memory>
|
||||
#include "common/timeUtils.h"
|
||||
#include "common/timeDefs.h"
|
||||
#include "common/signalHandler.h"
|
||||
#include "common/utils.h"
|
||||
#include "message/sampleFormat.h"
|
||||
|
@ -128,7 +128,7 @@ int main(int argc, char* argv[])
|
|||
if (nextTick > currentTick)
|
||||
{
|
||||
usleep((nextTick - currentTick) * 1000);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
gettimeofday(&tvChunk, NULL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue