Add Known Issues section to README

Documents known limitations discovered during ALSA Direct testing:

1. Seekbar Performance with Hi-Res Audio
   - 10-20s delay when seeking with >96kHz sample rates
   - Root cause: decoder must decode all samples from start to seek position
   - Workaround: Use prev/next track buttons (instant)
   - Future: Byte-level seeking planned for next release

2. First Sample Rate Change
   - Brief delay on first large rate change (e.g., 88.2→44.1 kHz)
   - Hardware stabilization time - normal behavior
   - Subsequent changes are smooth

3. ALSA Direct Mode
   - Bit-perfect but exclusive access (blocks other apps)
   - Hardware volume control experimental
   - Some DACs don't support hardware mixer

4. PipeWire DAC Passthrough
   - Requires PipeWire configuration for rate switching
   - Link to documentation

This section helps users understand limitations and workarounds, setting
proper expectations for bit-perfect audio modes.
This commit is contained in:
vicrodh committed 2026-01-19 11:47:35 -06:00
1 parent 8947bcf9c3
commit 282edfb206
1 file changed
+27
+27
View File
@@ -286,6 +286,33 @@ qbz/
└── static/ # Static assets and logo
```
## Known Issues
### Audio Playback
**Seekbar Performance with Hi-Res Audio**
- When using ALSA Direct or PipeWire DAC Passthrough with high sample rates (>96kHz), seeking can take 10-20 seconds
- This is due to the decoder needing to decode all samples from the start to the seek position
- Workaround: Use prev/next track buttons for instant navigation
- Future: Byte-level seeking will be implemented in a future release to fix this
**First Sample Rate Change**
- The first large sample rate change (e.g., 88.2kHz → 44.1kHz) may have a brief delay as the hardware stabilizes
- Subsequent changes of the same type are smooth
- This is normal hardware behavior and not a bug
### Audio Backends
**ALSA Direct Mode (hw: devices)**
- Provides bit-perfect playback by bypassing all software mixing
- Exclusive access: Other applications cannot play audio simultaneously
- Hardware volume control is experimental and may not work with all DACs
- If hardware mixer fails, use your DAC/amplifier's physical volume control
**PipeWire DAC Passthrough**
- Requires PipeWire configuration for automatic sample rate switching
- See [AUDIO_BACKENDS.md](qbz-nix-docs/AUDIO_BACKENDS.md) for setup instructions
## Contributing
Contributions are welcome! Please feel free to submit issues and pull requests.