ui(audio): the volume faders stop at 0 dB — no unreachable track
Mic and desktop gains run -60 to 0 dB and that is the ceiling: 0 dB is full input level, and nothing past it is offered or drawn. The unity tick is gone with the zone it explained.
This commit is contained in:
+4
-22
@@ -56,19 +56,9 @@
|
|||||||
<TextBlock DockPanel.Dock="Right" Width="56" TextAlignment="Right" FontSize="10"
|
<TextBlock DockPanel.Dock="Right" Width="56" TextAlignment="Right" FontSize="10"
|
||||||
FontFamily="{StaticResource FontFamily.Mono}" VerticalAlignment="Center"
|
FontFamily="{StaticResource FontFamily.Mono}" VerticalAlignment="Center"
|
||||||
Foreground="{StaticResource Brush.OnSurfaceVariant}" Text="{Binding MicVolumeDbLabel}"/>
|
Foreground="{StaticResource Brush.OnSurfaceVariant}" Text="{Binding MicVolumeDbLabel}"/>
|
||||||
<Grid VerticalAlignment="Center" ToolTip="The tick is 0 dB (unity) — above it you are boosting">
|
<Grid VerticalAlignment="Center" ToolTip="0 dB is the ceiling — full input level, no boost beyond it">
|
||||||
<Slider Minimum="-60" Maximum="6" SmallChange="0.5" LargeChange="3"
|
<Slider Minimum="-60" Maximum="0" SmallChange="0.5" LargeChange="3"
|
||||||
Value="{Binding MicVolumeDb, Mode=TwoWay}" VerticalAlignment="Center"/>
|
Value="{Binding MicVolumeDb, Mode=TwoWay}" VerticalAlignment="Center"/>
|
||||||
<!-- Unity tick: 60 dB of range below 0 and 6 dB above it, so the marker
|
|
||||||
sits at 60/66 — it makes the last stretch read as boost, not dead track. -->
|
|
||||||
<Grid IsHitTestVisible="False">
|
|
||||||
<Grid.ColumnDefinitions>
|
|
||||||
<ColumnDefinition Width="60*"/>
|
|
||||||
<ColumnDefinition Width="6*"/>
|
|
||||||
</Grid.ColumnDefinitions>
|
|
||||||
<Rectangle Grid.Column="0" Width="1" HorizontalAlignment="Right"
|
|
||||||
Fill="{StaticResource Brush.Outline}"/>
|
|
||||||
</Grid>
|
|
||||||
</Grid>
|
</Grid>
|
||||||
</DockPanel>
|
</DockPanel>
|
||||||
</Grid>
|
</Grid>
|
||||||
@@ -116,17 +106,9 @@
|
|||||||
<TextBlock DockPanel.Dock="Right" Width="56" TextAlignment="Right" FontSize="10"
|
<TextBlock DockPanel.Dock="Right" Width="56" TextAlignment="Right" FontSize="10"
|
||||||
FontFamily="{StaticResource FontFamily.Mono}" VerticalAlignment="Center"
|
FontFamily="{StaticResource FontFamily.Mono}" VerticalAlignment="Center"
|
||||||
Foreground="{StaticResource Brush.OnSurfaceVariant}" Text="{Binding GameVolumeDbLabel}"/>
|
Foreground="{StaticResource Brush.OnSurfaceVariant}" Text="{Binding GameVolumeDbLabel}"/>
|
||||||
<Grid VerticalAlignment="Center" ToolTip="The tick is 0 dB (unity) — above it you are boosting">
|
<Grid VerticalAlignment="Center" ToolTip="0 dB is the ceiling — full input level, no boost beyond it">
|
||||||
<Slider Minimum="-60" Maximum="6" SmallChange="0.5" LargeChange="3"
|
<Slider Minimum="-60" Maximum="0" SmallChange="0.5" LargeChange="3"
|
||||||
Value="{Binding GameVolumeDb, Mode=TwoWay}" VerticalAlignment="Center"/>
|
Value="{Binding GameVolumeDb, Mode=TwoWay}" VerticalAlignment="Center"/>
|
||||||
<Grid IsHitTestVisible="False">
|
|
||||||
<Grid.ColumnDefinitions>
|
|
||||||
<ColumnDefinition Width="60*"/>
|
|
||||||
<ColumnDefinition Width="6*"/>
|
|
||||||
</Grid.ColumnDefinitions>
|
|
||||||
<Rectangle Grid.Column="0" Width="1" HorizontalAlignment="Right"
|
|
||||||
Fill="{StaticResource Brush.Outline}"/>
|
|
||||||
</Grid>
|
|
||||||
</Grid>
|
</Grid>
|
||||||
</DockPanel>
|
</DockPanel>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user