@namespace DeepDrftPublic.Client.Controls.AudioPlayerBar

<MudStack Row="false" AlignItems="AlignItems.Center" Spacing="1" Class="@($"volume-zone {Class}".TrimEnd())">
    <SpectrumVisualizer BucketCount="18"/>
    <MudStack Row="true" AlignItems="AlignItems.Center" Spacing="1" Class="volume-row">
        <MudIcon Icon="@GetVolumeIcon()"/>
        <MudSlider T="double"
                   Min="0"
                   Max="1"
                   Step="0.01"
                   Value="@Volume"
                   ValueChanged="@VolumeChanged"
                   Class="volume-slider"/>
    </MudStack>
</MudStack>
