From 7c20e8bcc1cddbb76a82f918c3cb6db1f98fa195 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Fri, 1 Mar 2024 16:40:46 +0100 Subject: [PATCH] Fix minor variable mixup --- src/host/alsa/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/host/alsa/mod.rs b/src/host/alsa/mod.rs index 4c79e39b6..009ddef95 100644 --- a/src/host/alsa/mod.rs +++ b/src/host/alsa/mod.rs @@ -874,7 +874,7 @@ fn stream_timestamp( if nanos < 0 { panic!( "get_htstamp `{}.{}` was earlier than get_trigger_htstamp `{}.{}`", - ts.tv_sec, ts.tv_nsec, trigger_ts.tv_sec, ts.tv_nsec + ts.tv_sec, ts.tv_nsec, trigger_ts.tv_sec, trigger_ts.tv_nsec ); } Ok(crate::StreamInstant::from_nanos(nanos))