Playlist: More defensive proramming for when trying to play an empty playlist.

This commit is contained in:
2019-11-29 05:52:00 +01:00
parent 001e275131
commit dd9e1538c8
3 changed files with 12 additions and 4 deletions

View File

@ -36,7 +36,7 @@ public:
bool set_track(uint8_t track);
void reset();
bool is_empty();
String get_current_file();
bool get_current_file(String* dst);
uint32_t get_position();
void set_position(uint32_t p);
void shuffle(uint8_t random_offset=0);