X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=audiod.c;h=d815c4aa6c98e699dc48304cd96db1d14c28035b;hb=42ddd68159d7eff0f3e7c225665c97f9abd59425;hp=ddbe9d8bfb58550deb89cb771815362af7a1f78b;hpb=67d6243694e36deb43eb8bf246871d3e266b1cb2;p=paraslash.git diff --git a/audiod.c b/audiod.c index ddbe9d8b..d815c4aa 100644 --- a/audiod.c +++ b/audiod.c @@ -5,8 +5,14 @@ */ /** \file audiod.c The paraslash's audio daemon. */ + +#include +#include #include #include +#include +#include +#include #include #include "para.h" @@ -649,8 +655,6 @@ static void compute_time_diff(const struct timeval *status_time) const struct timeval max_deviation = {0, 500 * 1000}; const int time_smooth = 5; - if (!status_time) - return; sign = tv_diff(status_time, now, &diff); // PARA_NOTICE_LOG("%s: sign = %i, sa_time_diff_sign = %i\n", __func__, // sign, sa_time_diff_sign);