From f8e4f2cf2975217c6bdf521329401ce257d41a8d Mon Sep 17 00:00:00 2001 From: gramps Date: Sun, 1 Nov 2026 13:48:28 -0800 Subject: [PATCH] ui(audio): master meter centred and biggest; TRAX gets its own bay and meter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Creator rulings, 2026-11-01. - Master strip is 44px (from 36) and its meter is now the largest on screen: 420x14 with 32 segments, centred under the preview, with a 12px MASTER label — bigger than the 9px bay labels. L/R imbalance is a flag on the left, MONO and the session clock on the right. - The kbps / fps / dropped counters are gone from that line: the live readouts already sit above the preview, and the duplicate was noise rather than telemetry. - TRAX is its own bay (MIC | GAME | TRAX | LIP-SYNC) with its own meter bound to TraxMeterFraction. It lived inside the game bay with no ladder, which meant whether the bed was actually playing could not be answered from the dock — and the player already measures its own output. - Lip-sync is narrow (0.45 star) since it is one slider and three presets; the three sound bays are equal width, so their meters keep the same relative size. AudioDockLayout moves with it (156 = 112 + 44; collapsed 44) and the layout test is updated. TraxBayTests now asserts the opposite of the old ruling: the bay HAS a meter, and the game bay no longer carries it. --- Controls/AudioDock.xaml | 195 ++++++++++++++------------- Models/AudioDockLayout.cs | 7 +- docs/ai/ui-surface.md | 2 +- ytLive.Tests/AudioDockLayoutTests.cs | 4 +- ytLive.Tests/TraxBayTests.cs | 26 ++-- 5 files changed, 128 insertions(+), 106 deletions(-) diff --git a/Controls/AudioDock.xaml b/Controls/AudioDock.xaml index 41c4a37..775ced8 100644 --- a/Controls/AudioDock.xaml +++ b/Controls/AudioDock.xaml @@ -10,16 +10,19 @@ - + - + - + + @@ -66,7 +69,6 @@ - @@ -106,59 +108,72 @@ Value="{Binding GameVolumeDb, Mode=TwoWay}" VerticalAlignment="Center"/> - - - - - - - - - - - - - - + +