Mode | Meaning |
---|---|
NORMAL | After playing this song, the next song to be played is the next sequential song. For example after playing song with index 7, the next song to be played is the song at index 8. If the last song is played, the next song should be song 0. |
REPEAT | After playing this song, the next song to be played will still be this song. |
SHUFFLE | After playing this song, the next song to be played will be chosen randomly from all of the songs in the playlist. |
enum Mode { NORMAL, REPEAT, SHUFFLE };
playlist.h playlist.cpp