Files
SpotiFLAC-Mobile/android/app
zarzet 931dd4e398 fix(usb): keep the DAC level across a track change
Direct USB closes and reopens the DAC for every song and never restores
a level above the one the DAC reads when opened. Between two songs the
app lets go of the DAC and the system's USB audio driver takes it back;
when that driver lowers the DAC's volume, the lower reading became the
new ceiling and every song played quieter than the last, with the phone's
volume buttons unable to raise it.

A reopen within ten seconds of the app's own close is a track change:
the level that was playing stands. A DAC opened later, or for the first
time, is still never made louder than it connects. The level a song
plays at is what the next one keeps, so a capped level is not undone.

The prepare reply now carries what the DAC read when opened, the
remembered level and the time since release, logged as one line per
song so a tester run with Detailed Logging shows where a level fell.
2026-11-15 17:48:55 +07:00
..