From f0950133f616d761f9bc1eea48132985120afa64 Mon Sep 17 00:00:00 2001 From: firestar5683 <168790843+firestar5683@users.noreply.github.com> Date: Sun, 20 Sep 2026 11:31:09 -0700 Subject: [PATCH] Accept advancing DAC batches with repeated CoreAudio current timestamps --- roadscore/prototype/stream_clock_bridge.py | 2 +- roadscore/prototype/test_stream_clock_bridge.py | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/roadscore/prototype/stream_clock_bridge.py b/roadscore/prototype/stream_clock_bridge.py index 19af31c7a6..c32a75ef18 100644 --- a/roadscore/prototype/stream_clock_bridge.py +++ b/roadscore/prototype/stream_clock_bridge.py @@ -25,7 +25,7 @@ class StreamClockBridge: if (not all(type(value) in (int,float) and math.isfinite(value) for value in (wall,current,dac)) or current<=0 or dac<=0 or not -.02<=dac-current<=5): raise ValueError('Invalid callback clock sample') - if previous is not None and (wall