1
0
Fork 0
forked from len0rd/rockbox

Always resume audio after user picks a new song from a playlist

Music currently doesn't begin playing after the user has selected a new song in a playlist, unless another item was already playing or the previous player state was "stopped" (but not "paused"). This results in an inconsistent user experience. The user's likely intention is to immediately listen to the song they select for playback regardless of the previous player state.

Change-Id: I68a8da01b06a81d8c3b61e351710431152bfdfaa
This commit is contained in:
Christian Soffke 2021-02-15 14:01:39 +01:00 committed by Solomon Peachy
parent 422aa56243
commit 69746d8400

View file

@ -2608,6 +2608,7 @@ void playlist_start(int start_index, unsigned long elapsed,
playlist->started = true;
sync_control(playlist, false);
audio_play(elapsed, offset);
audio_resume();
}
/* Returns false if 'steps' is out of bounds, else true */