From 6852f88e80e442ba5d7f2044cf0fbbe72d46fefa Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Tue, 23 Oct 2018 10:03:17 +0200 Subject: [PATCH] test/latecy: fix typo in tstamp compare Signed-off-by: Jaroslav Kysela --- test/latency.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);