From: sgunderson@bigfoot.com <> Date: Thu, 28 Dec 2006 23:26:16 +0000 (+0100) Subject: Output diagnostics to stderr, since the skew could be going to stdout. X-Git-Url: https://git.sesse.net/?p=audiosync;a=commitdiff_plain;h=0dc1bfb693116c4bdb746e724e8079926cab1ade Output diagnostics to stderr, since the skew could be going to stdout. --- diff --git a/estimate-skew.cpp b/estimate-skew.cpp index 116b4fc..04a56e7 100644 --- a/estimate-skew.cpp +++ b/estimate-skew.cpp @@ -187,7 +187,7 @@ int main(int argc, char **argv) } double ns = filter(speed * double(num_inp) / double(num_ref)); - printf("%u vs. %u -- ratio %.3f, speed %.3f, filtered speed %.3f\n", num_inp, num_ref, + fprintf(stderr, "%u vs. %u -- ratio %.3f, speed %.3f, filtered speed %.3f\n", num_inp, num_ref, double(num_inp) / double(num_ref), speed * double(num_inp) / double(num_ref), ns); speed = ns; }