From: Jaroslav Kysela Date: Tue, 23 Oct 2018 08:03:17 +0000 (+0200) Subject: test/latecy: fix typo in tstamp compare X-Git-Tag: v1.1.8~32 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=6852f88e80e442ba5d7f2044cf0fbbe72d46fefa;p=alsa-lib.git test/latecy: fix typo in tstamp compare Signed-off-by: Jaroslav Kysela --- diff --git a/test/latency.c b/test/latency.c index f3590b3f..e926856b 100644 --- a/test/latency.c +++ b/test/latency.c @@ -673,7 +673,7 @@ int main(int argc, char *argv[]) printf("Capture:\n"); showstat(chandle, frames_in); showinmax(in_max); - if (p_tstamp.tv_sec == p_tstamp.tv_sec && + if (p_tstamp.tv_sec == c_tstamp.tv_sec && p_tstamp.tv_usec == c_tstamp.tv_usec) printf("Hardware sync\n"); snd_pcm_drop(chandle);