mirror of
https://github.com/badaix/snapcast.git
synced 2025-07-23 19:38:31 +02:00
xxx
git-svn-id: svn://elaine/murooma/trunk@98 d8a302eb-03bc-478d-80e4-98257eca68ef
This commit is contained in:
parent
0682b81270
commit
d539ae5ea0
2 changed files with 9 additions and 9 deletions
|
@ -56,9 +56,9 @@ int main () {
|
|||
{
|
||||
usleep((nextTick - currentTick) * 1000);
|
||||
}
|
||||
gettimeofday(&now, NULL);
|
||||
if (abs(diff_ms(now, start)) > 200)
|
||||
start = now;
|
||||
else
|
||||
gettimeofday(&start, NULL);
|
||||
|
||||
nextTick += WIRE_CHUNK_MS;
|
||||
}
|
||||
delete chunk;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue