playlist: add (proper) playlist_Pause() and playlist_Resume()
Those two functions have no effects if the playlist is stopped. Otherwise they force the playlist to playing ("running") or paused state respectively. As a reminder, the existing playlist_Play() forces the playlist into running state (unless it is empty), and playlist_Stop() forces the playlist into stopped state (unless the input thread refuses to die). There are no functions to force the playlist to paused state.
Showing with 18 additions and 0 deletions