From 5ae52808bb673768f73fca85ba8b2e03df102b11 Mon Sep 17 00:00:00 2001 From: gramps Date: Thu, 12 Nov 2026 12:37:03 -0800 Subject: [PATCH] feat(audio): the mic delay gets a slider, and the log states the applied value MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Two gaps in what 7f89534 shipped, both caught by the creator's report that sound still leads the lips: - The mic delay had presets only (off / 150 / 200), so the value a slower camera needs — roughly 175 ms of residual on top of the 175 ms already applied — could not be set at all. Now a 0..500 ms slider with off / 175 / 350 presets. - Nothing recorded which number was in force. The setting lives in the layout DB, so a preset click left no trace in the log; "Audio live: started" now names it. Confirmed meanwhile from the profile: Audio.MicSyncOffsetMs is 175, so the delay is being applied — the 150 ms of digital silence at the head of the 12:22 track is the delay line priming, which is what an applied delay looks like. The residual offset is the camera's pipeline being slower than 175 ms, not a missing delay. 674 pass, 0 warnings. --- Controls/AudioDock.xaml | 11 +++++++---- Services/Audio/AudioMixer.cs | 4 +++- docs/ai/output.md | 5 ++++- 3 files changed, 14 insertions(+), 6 deletions(-) diff --git a/Controls/AudioDock.xaml b/Controls/AudioDock.xaml index b679017..a9daeb0 100644 --- a/Controls/AudioDock.xaml +++ b/Controls/AudioDock.xaml @@ -227,13 +227,16 @@ FontFamily="{StaticResource FontFamily.Mono}" TextAlignment="Right" Foreground="{StaticResource Brush.OnSurfaceVariant}" Text="{Binding MicSyncOffsetLabel}"/> +