]> git.tuebingen.mpg.de Git - paraslash.git/commit
audiod: Improve get_time_string().
authorAndre Noll <maan@tuebingen.mpg.de>
Fri, 1 Apr 2016 23:12:08 +0000 (01:12 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Sun, 10 Apr 2016 12:43:19 +0000 (14:43 +0200)
commit087487f7d8ed1f0f32d0f28538127d9bee3d50f8
treeb2e217f22a1d57b4e7f6dfeb161435f7a8ce1246
parent20635453048bdf7f99d9fb5fbe53178ff386f74c
audiod: Improve get_time_string().

If the stream start time announced by para_server is newer than the
time para_audiod started the receiver, we assume that para_audiod
was started in the middle of an audio stream and adjust the play
time accordingly.

However, the server stream time can also be newer due to clock
differences or network hiccups. This patch changes audiod to apply
the adjustment only if the time difference is large.
audiod.c