mirror of
https://github.com/badaix/snapcast.git
synced 2025-08-02 16:19:09 +02:00
latency
git-svn-id: svn://elaine/murooma/trunk@257 d8a302eb-03bc-478d-80e4-98257eca68ef
This commit is contained in:
parent
3369363453
commit
6d6272d23a
5 changed files with 44 additions and 8 deletions
|
@ -77,6 +77,12 @@ static void addUs(timeval& tv, int us)
|
|||
}
|
||||
|
||||
|
||||
/*static long diffMs(const timeval& t1, const timeval& t2)
|
||||
{
|
||||
return (((t1.tv_sec - t2.tv_sec) * 1000000) +
|
||||
(t1.tv_usec - t2.tv_usec))/1000;
|
||||
}*/
|
||||
|
||||
|
||||
static long getTickCount()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue