mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-11-29 07:34:13 +01:00
Direct USB takes the DAC away from Android's own audio driver for as long
as it holds it. It held it through every pause, after the last song of a
queue, and for a song prepared but never started (a session restored at
launch), until the player was stopped. Swiping the app away does not stop
the player, so a paused Mornye left every other app without sound through
that DAC until it was unplugged. The level hand-back of 4ed523ac0 never ran
either, since it runs when the session stops.
After five seconds without playing, the deck now ends the native session:
the DAC goes back at the level it connected with and is released. The deck
keeps the song's position and reports that its source needs a reload, the
path a lost USB route already takes, so play opens the DAC again and
continues from there; a seek while released moves that position only.
The Android mixer and AAudio outputs are not affected.
This widens when the level goes back up: after an idle pause, not only at
the end of a session. If the DAC cannot be opened again on play, the song
plays through Android's mixer at that level, as loud as any other app.
Not run on a DAC.