Skip to content

Commit

Permalink
print fields instead of struct
Browse files Browse the repository at this point in the history
  • Loading branch information
ameknite committed Feb 28, 2024
1 parent d4f57f2 commit 0d4276c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/host/alsa/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -873,8 +873,8 @@ fn stream_timestamp(
let nanos = timespec_diff_nanos(ts, trigger_ts);
if nanos < 0 {
panic!(
"get_htstamp `{:?}` was earlier than get_trigger_htstamp `{:?}`",
ts, trigger_ts
"get_htstamp `TimeSpec {{ tv_sec: {:?}, tv_nsec: {:?} }}` was earlier than get_trigger_htstamp `TimeSpec {{ tv_sec: {:?}, tv_nsec: {:?} }}`",
ts.tv_sec, ts.tv_nsec, trigger_ts.tv_sec, trigger_ts.tv_nsec
);
}
Ok(crate::StreamInstant::from_nanos(nanos))
Expand Down

0 comments on commit 0d4276c

Please sign in to comment.