| 64 | } |
| 65 | |
| 66 | StringId getSelectedTrackTitleId() |
| 67 | { |
| 68 | if (requestedNextTrack != kNoSong) |
| 69 | { |
| 70 | return kMusicInfo[requestedNextTrack].titleId; |
| 71 | } |
| 72 | if (currentTrack != kNoSong) |
| 73 | { |
| 74 | return kMusicInfo[currentTrack].titleId; |
| 75 | } |
| 76 | return StringIds::music_none; |
| 77 | } |
| 78 | |
| 79 | static void sortPlaylistByTitle(std::vector<uint8_t>& playlist, bool reversed = false) |
| 80 | { |