UX improvements for ALSA Direct settings

1. Change hardware volume to visible help text (like Offline settings)
   - More critical info should be always visible
   - Clearer explanation of experimental nature

2. Add blue HW badge for ALSA Direct mode
   - Replaces DAC badge (mutually exclusive)
   - Blue color simulates audio equipment LED
   - Shows 'Hardware Direct: Bit-perfect ALSA' in tooltip
   - Displays device name and sample rate
   - Only visible when: ALSA Direct + hw plugin

3. Gapless logic already correct
   - Only restricts gapless with DAC Passthrough (PipeWire)
   - ALSA Direct can do gapless (same sample rate)
   - Note: Different sample rates need investigation
This commit is contained in:
vicrodh committed 2026-01-19 08:35:15 -06:00
1 parent 334a7a7e80
commit 8b825856d2
2 files changed
+52 -14

No files matched your search

+2 -2
View File
@@ -1399,9 +1399,9 @@
{/if}
{#if showAlsaHardwareVolume}
<div class="setting-row">
<div class="label-with-tooltip">
<div class="setting-info">
<span class="setting-label">Enable Hardware Volume Control</span>
<Tooltip text="Try to control DAC volume via ALSA mixer. Some DACs don't support this - disable for maximum compatibility or enable experimentally. Failure doesn't break playback." />
<span class="setting-desc">Experimental: Controls DAC volume via ALSA mixer. Some DACs don't support this - disable for maximum compatibility. If it fails, playback continues normally.</span>
</div>
<Toggle enabled={alsaHardwareVolume} onchange={handleAlsaHardwareVolumeChange} />
</div>